Skip to content

Commit caf39cd

Browse files
committed
add current path to python search path
1 parent 2727e24 commit caf39cd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reqable/main.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
import sys
2+
import os
3+
4+
pwd = os.path.dirname(os.path.abspath(__file__))
5+
if pwd not in sys.path:
6+
sys.path.append(pwd)
7+
28
import json
39
from reqable import CaptureContext, CaptureHttpRequest, CaptureHttpResponse
410
import addons

0 commit comments

Comments
 (0)