tools/mpy-tool: Make work if run from another directory.
By making sure we don't add relative paths to sys.path.
This commit is contained in:
parent
db9c2e310e
commit
473e85e2da
@ -45,7 +45,7 @@ import sys
|
|||||||
import struct
|
import struct
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
|
|
||||||
sys.path.append('../py')
|
sys.path.append(sys.path[0] + '/../py')
|
||||||
import makeqstrdata as qstrutil
|
import makeqstrdata as qstrutil
|
||||||
|
|
||||||
class FreezeError(Exception):
|
class FreezeError(Exception):
|
||||||
|
Loading…
Reference in New Issue
Block a user