mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 02:32:33 +01:00
fix symlink resolution in __main__.py
adapt ytdl order
This commit is contained in:
parent
bd3f7a5bbc
commit
4477808d1c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user