Skip to content

Commit

Permalink
Draft: small cosmetic fix to DXF importer
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Jul 30, 2015
1 parent d71d894 commit 686f2ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Mod/Draft/importDXF.py
Expand Up @@ -175,8 +175,10 @@ def deformat(text):
print("unable to decode text: ",text)
t = ns
# replace degrees, diameters chars
t = re.sub('%%d','°',t)
t = re.sub('%%c','Ø',t)
t = re.sub('%%d',u'°',t)
t = re.sub('%%c',u'Ø',t)
t = re.sub('%%D',u'°',t)
t = re.sub('%%C',u'Ø',t)
#print("output text: ",t)
return t

Expand Down

0 comments on commit 686f2ad

Please sign in to comment.