Skip to content

Commit

Permalink
obey int at argument when launching GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann committed Jul 5, 2022
1 parent 4b9d49c commit 2f01250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torbrowser_launcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def main():
desktop = app.desktop()
window_size = gui.size()
gui.move(
(desktop.width() - window_size.width()) / 2,
(desktop.height() - window_size.height()) / 2,
(desktop.width() - window_size.width()) // 2,
(desktop.height() - window_size.height()) // 2,
)
gui.show()

Expand Down

0 comments on commit 2f01250

Please sign in to comment.