FIX bugs introduced by change in color handling.
This commit is contained in:
parent
a928af2944
commit
af5020c6a4
@ -36,4 +36,4 @@ def setup(enable = True):
|
|||||||
if enable:
|
if enable:
|
||||||
dye = _dye
|
dye = _dye
|
||||||
else:
|
else:
|
||||||
dye = _nodye
|
dye = _nodye
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
from .. import pretty
|
from .. import pretty
|
||||||
from .. import repo
|
from .. import repo
|
||||||
|
from .. import color
|
||||||
|
|
||||||
|
|
||||||
def parser(subparsers, config):
|
def parser(subparsers, config):
|
||||||
|
@ -26,7 +26,7 @@ def short_authors(bibentry):
|
|||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
||||||
def bib_oneliner(bibentry, color=True):
|
def bib_oneliner(bibentry):
|
||||||
authors = short_authors(bibentry)
|
authors = short_authors(bibentry)
|
||||||
title = bibtex_purify(bibentry.fields['title'])
|
title = bibtex_purify(bibentry.fields['title'])
|
||||||
year = bibtex_purify(bibentry.fields.get('year', ''))
|
year = bibtex_purify(bibentry.fields.get('year', ''))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user