Skip to content

Commit

Permalink
Use 'or' instead of bitwise '|'
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkbear authored and flacjacket committed Jul 7, 2015
1 parent ae96239 commit a3c3f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libqtile/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def updateState(self):

@property
def urgent(self):
return self.hints['urgent'] | self._demands_attention
return self.hints['urgent'] or self._demands_attention

@urgent.setter
def urgent(self, val):
Expand Down

0 comments on commit a3c3f75

Please sign in to comment.