Skip to content

Commit

Permalink
Reapply "bottle-preferences: Directly return boolean when assigning `…
Browse files Browse the repository at this point in the history
…status`"

This reverts commit a7fb1ae.
  • Loading branch information
TheEvilSkeleton committed Dec 28, 2024
1 parent 1f6e112 commit a0f4888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bottles/frontend/views/bottle_preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ def set_latencyflex_status(self, status=None, error=None, pending=False):

def __set_steam_rules(self):
"""Set the Steam Environment specific rules"""
status = False if self.config.Environment == "Steam" else True
status = self.config.Environment != "Steam"

for w in [
self.row_discrete,
Expand Down

0 comments on commit a0f4888

Please sign in to comment.