Skip to content

Commit

Permalink
[windows] start new thread requires 2 args
Browse files Browse the repository at this point in the history
  • Loading branch information
degemer committed Jul 17, 2015
1 parent b7341eb commit 9b9c675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def __init__(self, parent=None):
self.add_option(self.MAC_LOGIN.format(self.enable_or_disable_mac()),
lambda: self.enable_or_disable_login())
elif Platform.is_windows():
self.add_option(self.FLARE, lambda: thread.start_new_thread(windows_flare))
self.add_option(self.FLARE, lambda: thread.start_new_thread(windows_flare, ()))

# And finally the exit
self.add_option(self.EXIT, lambda: sys.exit(0))
Expand Down

0 comments on commit 9b9c675

Please sign in to comment.