dont delete old databases yet

This commit is contained in:
Jack Robison 2018-02-15 09:33:47 -05:00
parent 1a330fcb41
commit 6ea5492ee5
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -251,6 +251,7 @@ def do_migration(db_dir):
blobs_db.close()
lbryfile_db.close()
metadata_db.close()
os.remove(os.path.join(db_dir, "blockchainname.db"))
os.remove(os.path.join(db_dir, 'lbryfile_info.db'))
os.remove(os.path.join(db_dir, 'blobs.db'))
log.info("successfully migrated the database")
# os.remove(os.path.join(db_dir, "blockchainname.db"))
# os.remove(os.path.join(db_dir, 'lbryfile_info.db'))
# os.remove(os.path.join(db_dir, 'blobs.db'))