mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 05:25:02 +03:00
fix path error
This commit is contained in:
parent
f7350381b6
commit
b6a00c3e14
2
you-get
2
you-get
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
||||||
_srcdir = 'src/'
|
_srcdir = '%s/src/' % os.path.dirname(os.path.realpath(__file__))
|
||||||
_filepath = os.path.dirname(sys.argv[0])
|
_filepath = os.path.dirname(sys.argv[0])
|
||||||
sys.path.insert(1, os.path.join(_filepath, _srcdir))
|
sys.path.insert(1, os.path.join(_filepath, _srcdir))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user