mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Timestamp required for checking if export exists
This commit is contained in:
parent
30b655a32a
commit
5b63cb38ae
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue