mirror of https://gitlab.com/bashrc2/epicyon
Invert logic
parent
5c5256cae9
commit
07de8d6b99
2
posts.py
2
posts.py
|
@ -6144,7 +6144,7 @@ def edited_post_filename(base_dir: str, nickname: str, domain: str,
|
|||
return '', None
|
||||
if lastpost_json['type'] != post_json_object['type']:
|
||||
return '', None
|
||||
if lastpost_json.get('object'):
|
||||
if not lastpost_json.get('object'):
|
||||
return '', None
|
||||
if not isinstance(lastpost_json['object'], dict):
|
||||
return '', None
|
||||
|
|
Loading…
Reference in New Issue