mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Append suffix to uploaded database
This commit is contained in:
parent
42c6340c06
commit
bdbfafabbd
1 changed files with 1 additions and 1 deletions
|
@ -3774,7 +3774,7 @@ class WebInterface(object):
|
|||
return {'result': 'error', 'message': 'No app specified for import'}
|
||||
|
||||
if database_file:
|
||||
database_path = os.path.join(plexpy.CONFIG.CACHE_DIR, database_file.filename)
|
||||
database_path = os.path.join(plexpy.CONFIG.CACHE_DIR, database_file.filename + '.import.db')
|
||||
logger.info("Received database file '%s' for import. Saving to cache '%s'.",
|
||||
database_file.filename, database_path)
|
||||
with open(database_path, 'wb') as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue