1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-24 17:25:52 +01:00
This commit is contained in:
Philipp Hagemeister 2013-02-25 00:22:55 +01:00
parent 450e709972
commit 12887875a2

View File

@ -78,7 +78,7 @@ def update_self(to_screen, verbose, filename):
to_screen(u'Updating to version ' + versions_info['latest'] + '...') to_screen(u'Updating to version ' + versions_info['latest'] + '...')
version = versions_info['versions'][versions_info['latest']] version = versions_info['versions'][versions_info['latest']]
print_notes(version_info['versions']) print_notes(versions_info['versions'])
if not os.access(filename, os.W_OK): if not os.access(filename, os.W_OK):
to_screen(u'ERROR: no write permissions on %s' % filename) to_screen(u'ERROR: no write permissions on %s' % filename)