Refactor PROGRAM_DIR -> APP_DIR

This commit is contained in:
Labrys of Knossos 2018-12-19 19:10:35 -05:00
commit 32e0d7dba2
4 changed files with 18 additions and 18 deletions

View file

@ -22,7 +22,7 @@ def db_filename(filename="nzbtomedia.db", suffix=None):
"""
if suffix:
filename = "{0}.{1}".format(filename, suffix)
return core.os.path.join(core.PROGRAM_DIR, filename)
return core.os.path.join(core.APP_ROOT, filename)
class DBConnection(object):