Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit 8d91062

Browse files
committed
unix fix for ci
1 parent b0ecb2d commit 8d91062

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/common/debugger_communication_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import json
66
import socketio
77
import copy
8+
import pathlib
89

910
from . import constants as CONSTANTS
1011
from . import utils
@@ -17,9 +18,8 @@
1718

1819
# add ref for micropython and clue
1920
abs_path_to_parent_dir = os.path.dirname(
20-
os.path.join(os.path.abspath(__file__), "..", "..", "..")
21+
os.path.join(pathlib.Path(__file__).parent, "..", "..")
2122
)
22-
2323
sys.path.insert(
2424
0, os.path.join(abs_path_to_parent_dir, TOPLEVEL_CONSTANTS.MICROPYTHON_LIBRARY_NAME)
2525
)

0 commit comments

Comments
 (0)