Add configuration and scheduler info to settings page

This commit is contained in:
JonnyWong16 2016-02-14 17:51:14 -08:00
parent c90dd147bb
commit 38c9c5a6ea
8 changed files with 205 additions and 18 deletions

View file

@ -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)