Skip to content

Commit

Permalink
Update SignalR code to work with new ORM
Browse files Browse the repository at this point in the history
  • Loading branch information
k29t59dh authored Aug 4, 2023
1 parent e0e5dae commit 13513ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazarr/app/signalr_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ def dispatcher(data):
.where(TableShows.sonarrSeriesId == data['body']['resource']['seriesId']))\
.first()
if series_metadata:
series_title = series_metadata['title']
series_year = series_metadata['year']
series_title = series_metadata.title
series_year = series_metadata.year
episode_title = data['body']['resource']['title']
season_number = data['body']['resource']['seasonNumber']
episode_number = data['body']['resource']['episodeNumber']
Expand Down

0 comments on commit 13513ae

Please sign in to comment.