mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix formatting on multiline if statement
This commit is contained in:
parent
96bdbefb8c
commit
f12b58406b
1 changed files with 2 additions and 2 deletions
|
@ -117,8 +117,8 @@ class Database(object):
|
||||||
|
|
||||||
for db_file in reversed(files):
|
for db_file in reversed(files):
|
||||||
if (db_file.startswith(database) and not db_file.endswith('-wal')
|
if (db_file.startswith(database) and not db_file.endswith('-wal')
|
||||||
and not db_file.endswith('-shm')
|
and not db_file.endswith('-shm')
|
||||||
and not db_file.endswith('db-journal')):
|
and not db_file.endswith('db-journal')):
|
||||||
|
|
||||||
version_string = re.search('{}(.*).db'.format(database), db_file)
|
version_string = re.search('{}(.*).db'.format(database), db_file)
|
||||||
version = int(version_string.group(1))
|
version = int(version_string.group(1))
|
||||||
|
|
Loading…
Reference in a new issue