mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 02:02:16 -05:00
Fixing a small bug.
This commit is contained in:
parent
6b0f00df78
commit
2229c7fc10
@ -49,9 +49,9 @@ class XEPInfo:
|
||||
titleNode = (headerNode.getElementsByTagName("title")[0])
|
||||
self.title = getText(titleNode.childNodes)
|
||||
self.nr = getText((headerNode.getElementsByTagName("number")[0]).childNodes)
|
||||
shortnameNode = (headerNode.getElementsByTagName("shortname")[0])
|
||||
shortnameNode = headerNode.getElementsByTagName("shortname")
|
||||
if shortnameNode:
|
||||
self.shortname = getText(shortnameNode.childNodes)
|
||||
self.shortname = getText((shortnameNode[0]).childNodes)
|
||||
else:
|
||||
self.shortname = "NOT YET ASSIGNED"
|
||||
abstractNode = (headerNode.getElementsByTagName("abstract")[0])
|
||||
|
Loading…
Reference in New Issue
Block a user