Fix OutOfDate message incorrectly referring to nested directory.

This commit is contained in:
voussoir 2020-09-04 15:56:06 -07:00
parent e5910c55f2
commit 2f9444542f

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