Skip to content
This repository has been archived by the owner on Feb 11, 2018. It is now read-only.

Commit

Permalink
Futher fixes to #7 and #5
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh committed Feb 20, 2016
1 parent 4d15ee1 commit 8749a67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pocket_cli/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def _get_articles_index(self, articles):
'id': article['item_id'],
'title': title,
'url': url,
'word_count': article['word_count'],
'word_count': word_count,
'reading_time': reading_time
}

Expand Down
4 changes: 2 additions & 2 deletions pocket_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ def main():
default='reading_time',
prompt='Please provide your preferred sort field\n'
'\tAvailable options are [id, reading_time]\n'
'\tdefault: [reading_time]')
'\tdefault:')
@click.option('--words-per-minute', '-wpm',
type=click.INT,
default=180,
prompt='Please specify your reading speed in words per minute\n'
'\tYou can use this URL to estimate your reading time\n'
'\thttp://www.readingsoft.com/\n'
'\tdefault: 180 wpm',
'\tdefault:',
help='Used in calculating reading time for each article')
def configure(consumer_key, sort_field, words_per_minute):
request_token = pocket_app.get_request_token(consumer_key)
Expand Down

0 comments on commit 8749a67

Please sign in to comment.