Skip to content
Snippets Groups Projects

Implemented additional checks to prevent SQL failures during processing of bad...

Merged Bartek Wrona requested to merge bw_tag_fix into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -104,7 +104,7 @@ class Posts(DbAdapterHolder):
if md and 'tags' in md and isinstance(md['tags'], list):
for tag in md['tags']:
if tag and isinstance(tag, str):
tags.append(escape_characters(tag))
tags.append(tag) # No escaping needed due to used sqlalchemy formatting features
sql = """
SELECT is_new_post, id, author_id, permlink_id, post_category, parent_id, community_id, is_valid, is_muted, depth
Loading