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"):
|
||||
import os.path
|
||||
path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
sys.path.insert(0, os.path.realpath(path))
|
||||
path = os.path.realpath(os.path.abspath(__file__))
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(path)))
|
||||
|
||||
import gallery_dl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user