mirror of
https://github.com/KanjiVG/kanjivg.git
synced 2026-04-24 14:26:10 +02:00
Another instance of has_key remained
This commit is contained in:
+1
-1
@@ -418,7 +418,7 @@ class SVGHandler(BasicHandler):
|
||||
elif group.part:
|
||||
# The group must exist already
|
||||
if group.part > 1:
|
||||
if not self.compCpt.has_key(group.element):
|
||||
if (group.element) not in self.compCpt:
|
||||
print("%s: Incorrectly started multi-part group" % (self.currentKanji.kId()))
|
||||
elif self.compCpt[group.element] != group.part - 1:
|
||||
print("%s: Incorrectly splitted multi-part group" % (self.currentKanji.kId()))
|
||||
|
||||
Reference in New Issue
Block a user