mirror of https://github.com/morpheus65535/bazarr
no log: fixed logging error
This commit is contained in:
parent
f58d1a915d
commit
487e3d55ed
|
@ -227,7 +227,7 @@ def update_one_movie(movie_id, action, defer_search=False):
|
||||||
insert(TableMovies)
|
insert(TableMovies)
|
||||||
.values(movie))
|
.values(movie))
|
||||||
except IntegrityError as e:
|
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:
|
else:
|
||||||
event_stream(type='movie', action='update', payload=int(movie_id))
|
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(
|
logging.debug('BAZARR inserted this movie into the database:{}'.format(path_mappings.path_replace_movie(
|
||||||
|
|
Loading…
Reference in New Issue