6259: Harcoded 'raw' characters into listing files are not properly displayed into Addons dialog

Gramps-addons listings has been fixed needing this change to have this working


svn: r22228
This commit is contained in:
Benny Malengier 2013-05-09 20:47:04 +00:00
parent 86b7a99101
commit 11e45f293f

View File

@ -396,8 +396,7 @@ class ViewManager(CLIManager):
lines = list(fp.readlines())
count = 0
for line in lines:
if sys.version_info[0] >= 3:
line = line.decode('utf-8').replace(": u'", ": '")
line = line.decode('utf-8')
try:
plugin_dict = safe_eval(line)
if type(plugin_dict) != type({}):