Skip to content

Commit 605940b

Browse files
committed
Update UC2Client.py
1 parent 3e71951 commit 605940b

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

uc2rest/UC2Client.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ def __init__(self, host=None, port=31950, serialport=None, identity="UC2_Feather
8888

8989
# import libraries depending on API version
9090
self.logger.debug("Using API version 2")
91-
92-
#FIXME
93-
#self.set_state(debug=False)
94-
91+
9592
# initialize state
9693
self.state = State(self)
9794

@@ -142,13 +139,6 @@ def __init__(self, host=None, port=31950, serialport=None, identity="UC2_Feather
142139

143140
# initialize messaging
144141
self.message = Message(self)
145-
146-
# initialize config
147-
if False: # not self.isPyScript:
148-
self.config = config(self)
149-
try: self.pinConfig = self.config.loadConfigDevice()
150-
except: self.pinConfig = None
151-
152142

153143
# initialize module controller
154144
self.modules = Modules(parent=self)

0 commit comments

Comments
 (0)