mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Add configuration and scheduler info to settings page
This commit is contained in:
parent
c90dd147bb
commit
38c9c5a6ea
8 changed files with 205 additions and 18 deletions
|
@ -49,7 +49,7 @@ def db_filename(filename="plexpy.db"):
|
|||
def make_backup(cleanup=False):
|
||||
""" Makes a backup of db, removes all but the last 3 backups """
|
||||
|
||||
backupfolder = plexpy.BACKUP_DIR
|
||||
backupfolder = plexpy.CONFIG.BACKUP_DIR
|
||||
backup_file = 'plexpy.backup-%s.db' % int(time.time())
|
||||
backup_file_fp = os.path.join(backupfolder, backup_file)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue