fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #2 from mgorny/fb2
[librarian.git]
/
librarian
/
dcparser.py
diff --git
a/librarian/dcparser.py
b/librarian/dcparser.py
index
f64317a
..
5a571ec
100644
(file)
--- a/
librarian/dcparser.py
+++ b/
librarian/dcparser.py
@@
-248,7
+248,7
@@
class WorkInfo(object):
if not field.multiple:
raise "OUCH!! for field %s" % name
- return value[0]
+ return value[0]
if value else None
except (KeyError, AttributeError):
return object.__getattribute__(self, name)