diff options
author | morpheus65535 <[email protected]> | 2018-08-22 21:33:58 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2018-08-22 21:33:58 -0400 |
commit | e7594579d713647a347c9ea7ed82c1d617c12f2b (patch) | |
tree | ccab32e6d20ae4cfbb92d2e3a536099c76593553 | |
parent | b6fc720759fd2ee737aea578dc775267f552525b (diff) | |
download | bazarr-e7594579d713647a347c9ea7ed82c1d617c12f2b.tar.gz bazarr-e7594579d713647a347c9ea7ed82c1d617c12f2b.zip |
Revert "Fix for path returning None"v0.6.0
This reverts commit b6fc720759fd2ee737aea578dc775267f552525b.
-rw-r--r-- | get_movies.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/get_movies.py b/get_movies.py index f378ec2b2..fc43dfb5d 100644 --- a/get_movies.py +++ b/get_movies.py @@ -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() |