move config to data folder, fixes #171
This commit is contained in:
parent
0e87b10079
commit
b05618f50a
7 changed files with 61 additions and 43 deletions
|
|
@ -362,7 +362,7 @@ def upgrade_db(old, new=None):
|
|||
)''')
|
||||
run_sql('CREATE INDEX idx_scrape_added ON scrape (added)')
|
||||
if old <= '20151118-346-7e86e68':
|
||||
old_key = os.path.join(settings.config_path, 'node.ssl.key')
|
||||
old_key = os.path.join(settings.data_path, 'node.ssl.key')
|
||||
if os.path.exists(old_key):
|
||||
os.unlink(old_key)
|
||||
if settings.OLD_USER_ID:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue