mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-13 01:14:38 +08:00
parent
b6fc720759
commit
e7594579d7
1 changed files with 1 additions and 4 deletions
|
@ -100,10 +100,7 @@ def update_movies():
|
|||
|
||||
for added_movie in added_movies:
|
||||
added_path = c.execute('SELECT path FROM table_movies WHERE tmdbId = ?', (added_movie,)).fetchone()
|
||||
if added_path == None:
|
||||
logging.error("No path returned from DB for movie with tmdbId " + added_movie)
|
||||
else:
|
||||
store_subtitles_movie(path_replace_movie(added_path[0]))
|
||||
store_subtitles_movie(path_replace_movie(added_path[0]))
|
||||
|
||||
# Close database connection
|
||||
db.close()
|
||||
|
|
Loading…
Reference in a new issue