Skip to content

Commit 7cae7c2

Browse files
authored
Merge pull request #91 from openUC2/mergemaster
Mergemaster
2 parents 17510f6 + 096e9fd commit 7cae7c2

4 files changed

Lines changed: 2 additions & 304 deletions

File tree

uc2rest/TEST/TEST_ESP32_Updater.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

uc2rest/UC2Client.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ def __init__(self, host=None, port=31950, serialport=None, identity="UC2_Feather
8484
else:
8585
self.logger.error("No ESP32 device is connected - check IP or Serial port!")
8686

87-
88-
if not self.isPyScript: from .updater import updater
89-
87+
9088
# import libraries depending on API version
9189
self.logger.debug("Using API version 2")
9290

@@ -150,11 +148,7 @@ def __init__(self, host=None, port=31950, serialport=None, identity="UC2_Feather
150148
try: self.pinConfig = self.config.loadConfigDevice()
151149
except: self.pinConfig = None
152150

153-
# initialize updater
154-
if not self.isPyScript:
155-
try: self.updater = updater(parent=self)
156-
except: self.updater = None
157-
151+
158152
# initialize module controller
159153
self.modules = Modules(parent=self)
160154

uc2rest/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
from .config import *
22
from .UC2Client import *
3-
try:
4-
from .updater import *
5-
except:
6-
print("Updater not available")

uc2rest/updater.py

Lines changed: 0 additions & 268 deletions
This file was deleted.

0 commit comments

Comments
 (0)