You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ the terminal. From Python, running the GUI requires only the following two lines
28
28
import glassesValidator
29
29
glassesValidator.GUI.run()
30
30
```
31
-
If you put these in a script, make sure to `if __name__=="__main__"`, this is required for correct operation from a script:
31
+
If you use glassesValidator's GUI in a script, make sure to wrap your script in `if __name__=="__main__"`. This is required for correct operation from a script because the GUI uses multiprocessing functionality. Do as follows:
0 commit comments