bugfix, to_save_str = ' '.join(to_save) fails if to_save is Noen (which is the default!)

这个提交包含在:
Øystein Bjørndal
2017-01-25 11:59:41 +01:00
父节点 3dc57b9686
当前提交 6b076a7cb8

查看文件

@@ -621,7 +621,11 @@ def rx(x, y, z, identifier=None, to_save=None, polarisation=None, dxdy=None, rot
x, y, xf, yf = rotate90_edge(x, y, xf, yf, polarisation, rotate90origin) x, y, xf, yf = rotate90_edge(x, y, xf, yf, polarisation, rotate90origin)
c = Coordinate(x, y, z) c = Coordinate(x, y, z)
command('rx', str(c), identifier, ' '.join(to_save)) to_save_str = ''
if to_save is not None:
to_save_str = ' '.join(to_save)
command('rx', str(c), identifier, to_save_str)
return c return c