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:
parent
91a30eaaed
commit
1118476e38
@ -396,8 +396,7 @@ class ViewManager(CLIManager):
|
|||||||
lines = list(fp.readlines())
|
lines = list(fp.readlines())
|
||||||
count = 0
|
count = 0
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if sys.version_info[0] >= 3:
|
line = line.decode('utf-8')
|
||||||
line = line.decode('utf-8').replace(": u'", ": '")
|
|
||||||
try:
|
try:
|
||||||
plugin_dict = safe_eval(line)
|
plugin_dict = safe_eval(line)
|
||||||
if type(plugin_dict) != type({}):
|
if type(plugin_dict) != type({}):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user