Skip to content

Commit

Permalink
Start: Fixed utf8 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Mar 5, 2014
1 parent 4699856 commit e99daa4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Mod/Start/StartPage/StartPage.py
Expand Up @@ -277,6 +277,11 @@ def translate(context,text):
right: 10px;
}
#description img {
max-width: 300px;
clear: both;
}
</style>
</head>
Expand Down Expand Up @@ -540,7 +545,7 @@ def setColors(html):
defaults["#windowcolor"] = palette.window().color().name()
defaults["#windowtextcolor"] = palette.windowText().color().name()
for k,v in defaults.iteritems():
html = html.replace(k,v)
html = html.replace(k,str(v))
return html

def handle():
Expand Down

0 comments on commit e99daa4

Please sign in to comment.