fix default db_revision

This commit is contained in:
Jack Robison 2018-02-13 14:42:53 -05:00
parent 73f09edcf0
commit e40d4f74d8
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -495,7 +495,7 @@ class Daemon(AuthJSONRPCServer):
log.debug("Created the blobfile directory: %s", str(self.blobfile_dir)) log.debug("Created the blobfile directory: %s", str(self.blobfile_dir))
if not os.path.exists(self.db_revision_file): if not os.path.exists(self.db_revision_file):
log.warning("db_revision file not found. Creating it") log.warning("db_revision file not found. Creating it")
self._write_db_revision_file(old_revision) self._write_db_revision_file(self.current_db_revision)
@defer.inlineCallbacks @defer.inlineCallbacks
def _check_db_migration(self): def _check_db_migration(self):