Fix formatting on multiline if statement

This commit is contained in:
Matt 2021-03-14 09:50:19 -04:00
parent 96bdbefb8c
commit f12b58406b
1 changed files with 2 additions and 2 deletions

View File

@ -117,8 +117,8 @@ class Database(object):
for db_file in reversed(files):
if (db_file.startswith(database) and not db_file.endswith('-wal')
and not db_file.endswith('-shm')
and not db_file.endswith('db-journal')):
and not db_file.endswith('-shm')
and not db_file.endswith('db-journal')):
version_string = re.search('{}(.*).db'.format(database), db_file)
version = int(version_string.group(1))