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: r22227
This commit is contained in:
Benny Malengier 2013-05-09 20:41:41 +00:00
parent 91a30eaaed
commit 1118476e38

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({}):