fix extract offline, better estimate of remaining time on resume

This commit is contained in:
j 2014-02-22 17:50:00 +05:30
commit 79b96490f9
2 changed files with 9 additions and 3 deletions

View file

@ -49,7 +49,8 @@ for more information visit https://wiki.0x2620.org/wiki/pandora_client''' % ', '
action = args[0]
offline = action in config or action == 'client'
offline = action in config or action == 'client' or \
(action == 'extract' and len(args) == 2 and args[1] in ('offline', 'all'))
if action == 'client':
opts.config = {'url': '', 'cache': '~/.ox/client.sqlite', 'media-cache': '~/.ox/media'}
if action == 'config':