mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 21:51:14 -07:00
Don't delete session cache folder on startup
This commit is contained in:
parent
b4a4f60b04
commit
6ec4f51077
1 changed files with 0 additions and 7 deletions
|
@ -158,13 +158,6 @@ def initialize(config_file):
|
|||
except OSError as e:
|
||||
logger.error(u"Could not create cache dir '%s': %s" % (CONFIG.CACHE_DIR, e))
|
||||
|
||||
if CONFIG.CACHE_DIR:
|
||||
session_metadata_folder = os.path.join(CONFIG.CACHE_DIR, 'session_metadata')
|
||||
try:
|
||||
shutil.rmtree(session_metadata_folder, ignore_errors=True)
|
||||
except OSError as e:
|
||||
pass
|
||||
|
||||
# Initialize the database
|
||||
logger.info(u"Checking if the database upgrades are required...")
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue