From ffc5f2cee84d8ccee27629a3d5a186ef1cf739db Mon Sep 17 00:00:00 2001 From: Steven Murdoch Date: Mon, 16 Feb 2009 00:12:25 +0000 Subject: Treat mastersthesis entries differently from phdthesis svn:r312 --- BibTeX.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BibTeX.py b/BibTeX.py index 41843bc..c87cb12 100644 --- a/BibTeX.py +++ b/BibTeX.py @@ -461,7 +461,7 @@ class BibTeXEntry: elif self.type == 'mastersthesis' or self.type == 'phdthesis': if self.get('type'): res = [self['type']] - elif type == 'mastersthesis': + elif self.type == 'mastersthesis': res = ["Masters's thesis"] else: res = ["Ph.D. thesis"] -- cgit v1.2.3-70-g09d2