mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-06 01:22:35 +00:00
[update] Add package manager to error message (#959)
This commit is contained in:
parent
d7f44b5bdb
commit
f9bd64c098
@ -44,7 +44,7 @@ def update_self(to_screen, verbose, filename):
|
|||||||
|
|
||||||
|
|
||||||
if not isinstance(globals().get('__loader__'), zipimporter) and not hasattr(sys, "frozen"):
|
if not isinstance(globals().get('__loader__'), zipimporter) and not hasattr(sys, "frozen"):
|
||||||
to_screen(u'It looks like you installed youtube-dl with pip, setup.py or a tarball. Please use that to update.')
|
to_screen(u'It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.')
|
||||||
return
|
return
|
||||||
|
|
||||||
# Check if there is a new version
|
# Check if there is a new version
|
||||||
|
Loading…
Reference in New Issue
Block a user