Skip to content

Commit

Permalink
Boolean fix v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Nov 15, 2023
1 parent 4714624 commit 7e6b330
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1924,7 +1924,7 @@ def db_update_single_series(
if searched:
to_update[self.model_file.Searched] = searched

if self.model_file.get(self.model_file.EntryId == EntryId).Upgrade:
if self.model_file.get_or_none(self.model_file.EntryId == EntryId).Upgrade:
upgrade = True
to_update[self.model_file.Upgrade] = upgrade

Expand Down Expand Up @@ -1993,7 +1993,7 @@ def db_update_single_series(
if searched:
to_update[self.series_file_model.Searched] = searched

if self.series_file_model.get(
if self.series_file_model.get_or_none(
self.series_file_model.EntryId == EntryId
).Upgrade:
upgrade = True
Expand Down Expand Up @@ -2054,7 +2054,7 @@ def db_update_single_series(
if searched:
to_update[self.model_file.Searched] = searched

if self.model_file.get(self.model_file.EntryId == entryId).Upgrade:
if self.model_file.get_or_none(self.model_file.EntryId == entryId).Upgrade:
upgrade = True
to_update[self.model_file.Upgrade] = upgrade

Expand Down

0 comments on commit 7e6b330

Please sign in to comment.