Skip to content

Commit

Permalink
#84: Removing redundant parameters to method _is_main_thread
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul committed Nov 24, 2017
1 parent f111f2e commit 5f759fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/server/async.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def StartSerialServer(context, identity=None,
reactor.run()


def _stop_server(is_mainthread=True):
def _stop_server():
from twisted.internet import reactor
if _is_main_thread():
reactor.stop()
Expand Down

0 comments on commit 5f759fc

Please sign in to comment.