fix symlink resolution in __main__.py
adapt ytdl order
This commit is contained in:
@@ -11,8 +11,8 @@ import sys
|
|||||||
|
|
||||||
if not __package__ and not hasattr(sys, "frozen"):
|
if not __package__ and not hasattr(sys, "frozen"):
|
||||||
import os.path
|
import os.path
|
||||||
path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
path = os.path.realpath(os.path.abspath(__file__))
|
||||||
sys.path.insert(0, os.path.realpath(path))
|
sys.path.insert(0, os.path.dirname(os.path.dirname(path)))
|
||||||
|
|
||||||
import gallery_dl
|
import gallery_dl
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user