mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Split if statement evenly
This commit is contained in:
parent
f12b58406b
commit
d3d4996d0d
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ class Database(object):
|
|||
target = {'db_file': '', 'version': 0}
|
||||
|
||||
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('db-journal')):
|
||||
|
||||
|
|
Loading…
Reference in a new issue