Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fdev31 committed Apr 3, 2024
1 parent 0a14f3f commit 7b57362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyprland/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ async def run_client():
manager = Pyprland()

if sys.argv[1] == "version":
print("2.1.3-8") # Automatically updated version
print('2.1.3-9') # Automatically updated version
return

if sys.argv[1] in ("--help", "-h", "help"):
Expand Down
3 changes: 1 addition & 2 deletions pyprland/plugins/magnify.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ async def run_zoom(self, *args):
self.cur_factor = value

# sanity check
if self.cur_factor <= 1.0:
self.cur_factor = 1
self.cur_factor = max(self.cur_factor, 1)

# apply the factor
self.zoomed = self.cur_factor != 1
Expand Down

0 comments on commit 7b57362

Please sign in to comment.