mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
Refactor PROGRAM_DIR -> APP_DIR
This commit is contained in:
parent
9d0097fa68
commit
32e0d7dba2
4 changed files with 18 additions and 18 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue