diff --git a/papers/color.py b/papers/color.py index 90e91b5..5c2a078 100644 --- a/papers/color.py +++ b/papers/color.py @@ -36,4 +36,4 @@ def setup(enable = True): if enable: dye = _dye else: - dye = _nodye \ No newline at end of file + dye = _nodye diff --git a/papers/commands/list_cmd.py b/papers/commands/list_cmd.py index b188226..017d04b 100644 --- a/papers/commands/list_cmd.py +++ b/papers/commands/list_cmd.py @@ -1,5 +1,6 @@ from .. import pretty from .. import repo +from .. import color def parser(subparsers, config): diff --git a/papers/pretty.py b/papers/pretty.py index edaaafd..7fa7e83 100644 --- a/papers/pretty.py +++ b/papers/pretty.py @@ -26,7 +26,7 @@ def short_authors(bibentry): return '' -def bib_oneliner(bibentry, color=True): +def bib_oneliner(bibentry): authors = short_authors(bibentry) title = bibtex_purify(bibentry.fields['title']) year = bibtex_purify(bibentry.fields.get('year', ''))