Fix OutOfDate message incorrectly referring to nested directory.

master
voussoir 2020-09-04 15:56:06 -07:00
parent e5910c55f2
commit 2f9444542f
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class BadTable(BadSQL):
# GENERAL ERRORS # GENERAL ERRORS
OUTOFDATE = ''' OUTOFDATE = '''
Database is out of date. {existing} should be {new}. Database is out of date. {existing} should be {new}.
Please run utilities\\database_upgrader\\database_upgrader.py "{filepath.absolute_path}" Please run utilities\\database_upgrader.py "{filepath.absolute_path}"
'''.strip() '''.strip()
class DatabaseOutOfDate(YCDLException): class DatabaseOutOfDate(YCDLException):
error_message = OUTOFDATE error_message = OUTOFDATE