Added older version support
This commit is contained in:
1 parent
ccedac4bdc
commit
400ce01918
1 file changed
+5
-2
@@ -448,9 +448,12 @@ def postExists(POST):
|
||||
|
||||
SHORT_FILE_PATH = PATH / (POST['postId']+extension)
|
||||
|
||||
if OLD_FILE_PATH.exists() FILE_PATH.exists() or SHORT_FILE_PATH.exists():
|
||||
if OLD_FILE_PATH.exists() or \
|
||||
FILE_PATH.exists() or \
|
||||
SHORT_FILE_PATH.exists():
|
||||
|
||||
return True
|
||||
|
||||
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
Reference in new issue
Block a user