Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
473e85e2
Commit
473e85e2
authored
May 01, 2017
by
Paul Sokolovsky
Browse files
tools/mpy-tool: Make work if run from another directory.
By making sure we don't add relative paths to sys.path.
parent
db9c2e31
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/mpy-tool.py
View file @
473e85e2
...
@@ -45,7 +45,7 @@ import sys
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment