no log: fixed logging error

This commit is contained in:
morpheus65535 2023-08-07 08:43:57 -04:00
parent f58d1a915d
commit 487e3d55ed
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ def update_one_movie(movie_id, action, defer_search=False):
insert(TableMovies)
.values(movie))
except IntegrityError as e:
logging.error(f"BAZARR cannot update movie {movie['path']} because of {e}")
logging.error(f"BAZARR cannot insert movie {movie['path']} because of {e}")
else:
event_stream(type='movie', action='update', payload=int(movie_id))
logging.debug('BAZARR inserted this movie into the database:{}'.format(path_mappings.path_replace_movie(