Skip to content

Commit 5b7009e

Browse files
authored
Update README.md
1 parent 3601e9e commit 5b7009e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ the terminal. From Python, running the GUI requires only the following two lines
2828
import glassesValidator
2929
glassesValidator.GUI.run()
3030
```
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:
3232
```python
3333
if __name__=="__main__":
3434
import glassesValidator

0 commit comments

Comments
 (0)