mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 12:42:29 +03:00
fix code logic
Signed-off-by: Zhang Ning <zhangn1985@gmail.com>
This commit is contained in:
parent
fcdd69f28d
commit
005c27977d
2
you-get
2
you-get
@ -11,7 +11,7 @@ else:
|
|||||||
# The application is not frozen
|
# The application is not frozen
|
||||||
# Change this bit to match where you store your data files:
|
# Change this bit to match where you store your data files:
|
||||||
_filepath = os.path.dirname(os.path.realpath(__file__))
|
_filepath = os.path.dirname(os.path.realpath(__file__))
|
||||||
sys.path.insert(1, os.path.join(_filepath, _srcdir))
|
sys.path.insert(1, os.path.join(_filepath, _srcdir))
|
||||||
|
|
||||||
if sys.version_info[0] == 3:
|
if sys.version_info[0] == 3:
|
||||||
import you_get
|
import you_get
|
||||||
|
Loading…
Reference in New Issue
Block a user