Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code

This commit is contained in:
wmayer
2014-07-07 13:57:17 +02:00

View File

@@ -617,6 +617,11 @@ class SpreadsheetController:
if hasattr(value,arg):
value = getattr(value,arg)
try:
if isinstance(value,float) or isinstance(value,int):
pass
else:
value = str(value)
value = ''.join([ c for c in value if c not in ('<','>',':')])
setattr(spreadsheet.Proxy,cell,value)
if DEBUG: print "setting cell ",cell," to value ",value
except: