tools/mpy-tool: Make work if run from another directory.

By making sure we don't add relative paths to sys.path.
pull/3055/head
Paul Sokolovsky 2017-05-01 00:01:30 +03:00
rodzic db9c2e310e
commit 473e85e2da
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -45,7 +45,7 @@ import sys
import struct
from collections import namedtuple
sys.path.append('../py')
sys.path.append(sys.path[0] + '/../py')
import makeqstrdata as qstrutil
class FreezeError(Exception):