We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89d1417 commit 84ef56dCopy full SHA for 84ef56d
1 file changed
tutorials/tutorial_waypoints.py
@@ -68,7 +68,7 @@ def call_mss():
68
mss_pyui.main()
69
70
71
-def automate_waypoints(obj=None):
+def automate_waypoints():
72
"""
73
This is the main automating script of the MSS waypoints tutorial which will be recorded and saved
74
to a file having dateframe nomenclature with a .mp4 extension(codec).
@@ -144,7 +144,7 @@ def automate_waypoints(obj=None):
144
145
# Changing map to Global
146
try:
147
- if platform == 'linux' or 'linux2' or 'darwin':
+ if platform == 'linux' or platform == 'linux2' or platform == 'darwin':
148
x, y = pag.locateCenterOnScreen('pictures/europe(cyl).PNG')
149
pag.click(x, y, interval=2)
150
elif platform == 'win32':
0 commit comments