OOPS WHOOPS uh oh

This commit is contained in:
codl 2017-12-28 03:25:27 +01:00
parent ada719faeb
commit 9574476491
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ def delete_from_account(account_id):
account.policy_keep_media == 'none' or
(account.policy_keep_media == 'keeponly' and not post.has_media) or
(account.policy_keep_media == 'deleteonly' and post.has_media)
) and (
not account.policy_keep_direct or not post.direct
)
)
)