Skip to content

Commit

Permalink
Add game name to 0 required minutes error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Arne-Weber committed Aug 18, 2024
1 parent d2be935 commit 1092207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def progress(self) -> float:
if self.required_minutes: # Quick fix to prevent division by zero crash
return self.current_minutes / self.required_minutes
else:
self._manager.print(f'!!!required_minutes for "{self.name}" is 0 This could be due to a subscription requirement, tracked in Issue #101!!!')
self._manager.print(f'!!!required_minutes for "{self.name}" from "{self.campaign.game.name}" is 0 This could be due to a subscription requirement, tracked in Issue #101!!!')
self.preconditions_met = False
return 0

Expand Down

0 comments on commit 1092207

Please sign in to comment.