Merge pull request #2490 from Jantek/patch-2
[Path] Fixed problems with 'pythonopen' in grbl_G81 of release 18.3
This commit is contained in:
@@ -101,7 +101,7 @@ CURRENT_Z = 0
|
||||
|
||||
|
||||
# to distinguish python built-in open function from the one declared below
|
||||
if open.__module__ == '__builtin__':
|
||||
if open.__module__ in ['__builtin__','io']:
|
||||
pythonopen = open
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user