legorovers / pirover_simulator

A python based simulator for the 4tronix Inition and Pi2Go robots.
GNU General Public License v3.0
8 stars 40 forks source link

Fix SyntaxWarning in pysim.py and pysimosx.py #12

Closed dannkoh closed 1 month ago

dannkoh commented 1 month ago

Fixes:

Warning in pysimosx.py

./pirover_simulator/pysimosx.py:15: SyntaxWarning: "is not" with a literal. Did you mean "!="? while selected_file == "" or (start_window is not None and start_window.selected_file is not "None"): # if it is None then select simulator dialog did something other than "launch simulator", which then implies that window close operation was carried out and app should quit.