aboutsummaryrefslogtreecommitdiffstats
path: root/BibTeX.py
diff options
context:
space:
mode:
Diffstat (limited to 'BibTeX.py')
-rw-r--r--BibTeX.py2
1 files changed, 1 insertions, 1 deletions
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"]