Skip to content

Commit

Permalink
Update ModularVisualization.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Corvince authored Jan 2, 2021
1 parent b2d7832 commit a88f31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa/visualization/ModularVisualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
# pylint: disable=attribute-defined-outside-init

# Change the event loop policy for windows
if platform.system == "Windows" and platform.python_version_tuple >= (3, 7):
if platform.system() == "Windows" and platform.python_version_tuple() >= ("3", "7"):
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())


Expand Down

0 comments on commit a88f31b

Please sign in to comment.