Added older version support
This commit is contained in:
1 parent
ccedac4bdc
commit
400ce01918
1 file changed
+4
-1
@@ -448,7 +448,10 @@ def postExists(POST):
|
|||||||
|
|
||||||
SHORT_FILE_PATH = PATH / (POST['postId']+extension)
|
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
|
return True
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user