mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-02 03:52:50 -05:00
new updating scheme, based on GH downloads; also, check if not updateable (pip installed)
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
import sys
|
||||
|
||||
if __package__ is None and not hasattr(sys, "frozen"):
|
||||
# direct call of __main__.py
|
||||
import os.path
|
||||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
|
Reference in New Issue
Block a user