mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-07 23:37:58 +08:00
no log: Fixed some typo
This commit is contained in:
parent
8e6275513b
commit
b3917c58a2
1 changed files with 2 additions and 2 deletions
|
@ -178,12 +178,12 @@ def sync_one_episode(episode_id):
|
||||||
TableEpisodes.delete().where(TableEpisodes.sonarrEpisodeId == episode_id).execute()
|
TableEpisodes.delete().where(TableEpisodes.sonarrEpisodeId == episode_id).execute()
|
||||||
event_stream(type='episode', action='delete', payload=int(episode_id))
|
event_stream(type='episode', action='delete', payload=int(episode_id))
|
||||||
logging.debug('BAZARR deleted this episode from the database:{}'.format(path_mappings.path_replace(
|
logging.debug('BAZARR deleted this episode from the database:{}'.format(path_mappings.path_replace(
|
||||||
existing_episode['path)'])))
|
existing_episode['path'])))
|
||||||
return
|
return
|
||||||
|
|
||||||
# Update existing episodes in DB
|
# Update existing episodes in DB
|
||||||
elif episode and existing_episode:
|
elif episode and existing_episode:
|
||||||
TableEpisodes.update(episode).where(TableEpisodes.sonarrEpisodeId == episode.sonarrEpisodeId).execute()
|
TableEpisodes.update(episode).where(TableEpisodes.sonarrEpisodeId == episode_id).execute()
|
||||||
event_stream(type='episode', action='update', payload=int(episode_id))
|
event_stream(type='episode', action='update', payload=int(episode_id))
|
||||||
logging.debug('BAZARR updated this episode into the database:{}'.format(path_mappings.path_replace(
|
logging.debug('BAZARR updated this episode into the database:{}'.format(path_mappings.path_replace(
|
||||||
episode.path)))
|
episode.path)))
|
||||||
|
|
Loading…
Reference in a new issue