Skip to content

Commit 1735d33

Browse files
TheEvilSkeletonmirkobrombin
authored andcommitted
bottle-preferences: Directly return boolean when assigning status
1 parent af29960 commit 1735d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bottles/frontend/views/bottle_preferences.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ def set_latencyflex_status(self, status=None, error=None, pending=False):
929929

930930
def __set_steam_rules(self):
931931
"""Set the Steam Environment specific rules"""
932-
status = False if self.config.Environment == "Steam" else True
932+
status = self.config.Environment != "Steam"
933933

934934
for w in [
935935
self.row_discrete,

0 commit comments

Comments
 (0)