mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-13 04:07:55 +01: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