This commit is contained in:
Jack Robison 2017-09-01 10:43:46 -04:00
parent 15879e87f5
commit 5ece58b716
No known key found for this signature in database
GPG key ID: 284699E7404E3CFF

View file

@ -489,7 +489,8 @@ class Daemon(AuthJSONRPCServer):
if old_revision > self.current_db_revision:
raise Exception('This version of lbrynet is not compatible with the database\n'
'Your database is revision %i, expected %i' % (old_revision, self.current_db_revision))
'Your database is revision %i, expected %i' %
(old_revision, self.current_db_revision))
def update_version_file_and_print_success():
self._write_db_revision_file(self.current_db_revision)