From 8b0baede8857668cb6b6f2a8ce61ca6e6ea12d23 Mon Sep 17 00:00:00 2001 From: Fabien Benureau Date: Tue, 25 Jun 2013 13:07:18 +0200 Subject: [PATCH] FIX bug in color handling --- papers/files.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/papers/files.py b/papers/files.py index 0af1cda..752262c 100644 --- a/papers/files.py +++ b/papers/files.py @@ -21,10 +21,10 @@ try: import pybtex.database.output.bibyaml except ImportError: - print(ui.dye('error', ui.error) + - ": you need to install Pybtex; try running 'pip install" + print(color.dye('error', color.error) + + ": you need to install Pybtex; try running 'pip install " "pybtex' or 'easy_install pybtex'") - + exit(-1) _papersdir = None