Skip to content

Commit

Permalink
fix issue with default NAXES
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed May 23, 2018
1 parent 7db76cc commit f2a59b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def __init__(self, Port, name = None, IdlePoll = 500, MovingPoll = 100, **kwargs
name = "BRICK%d" % (self.Card + 1)
self.name = name
# Store other attributes
self.NAxes = 8 if kwargs['NAXES'] == '' else int(kwargs['NAXES'])
self.NAxes = 8 if 'NAXES' not in kwargs else int(kwargs['NAXES'])
self.P = kwargs['P']
self.__dict__.update(kwargs)
self.IdlePoll = IdlePoll
Expand Down

0 comments on commit f2a59b4

Please sign in to comment.