1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 12:12:34 +01:00

fix symlink resolution in __main__.py

adapt ytdl order
This commit is contained in:
Mike Fährmann 2023-09-30 17:02:57 +02:00
parent bd3f7a5bbc
commit 4477808d1c
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -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