Timestamp required for checking if export exists

This commit is contained in:
JonnyWong16 2020-10-14 14:13:55 -07:00
commit 5b63cb38ae
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -2196,7 +2196,7 @@ def get_export_filepath(title, timestamp, filename):
return os.path.join(dirpath, filename)
def check_export_exists(title, timestamp=None, filename=None):
def check_export_exists(title, timestamp, filename=None):
if filename:
return os.path.isfile(get_export_filepath(title, timestamp, filename))
return os.path.isdir(get_export_dirpath(title, timestamp))