View Single Post
Old 12-27-2014, 01:07 AM   #42
anavin
Enthusiast
anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.anavin put the bomp in the bomp-a-bomp-a-bomp.
 
Posts: 34
Karma: 67986
Join Date: Feb 2014
Device: Kobo Glo, Kobo Aura H2O
Hi,

Just ran into an exception when using the plugin today:

Version: v021 on Sigil 0.8.2 on OpenSuSE x64
File: opf_converter.py, line 396~401
Code:
if self.title_cnt==1:
	nattr = {}
	nattr["refines"] = "#" + id
	nattr["property"] = "title-type"
outtags.append(["meta", nattr, "main"]) <-- variable nattr not initialized
return outtags
I guess the append() should be inside the if block, right?
anavin is offline   Reply With Quote