Skip to content

Commit 66c2055

Browse files
committed
add local 'lib' path for use from git checkout in addition to full install
1 parent 0690230 commit 66c2055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygsm_demo

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if __name__ == "__main__":
99
# put 'lib' in working path to grab pygsm from same dir
1010
# for launch out of development directory
1111
libdir = os.path.join(os.path.dirname(sys.argv[0]),'lib')
12-
sys.path.append(libdir)
12+
sys.path.insert(0,libdir)
1313
from pygsm.gsmmodem import GsmModem
1414

1515

0 commit comments

Comments
 (0)