Skip to content

Commit 8b0e22a

Browse files
author
Developer
committed
Made success, out, err more clearly a list of results.
1 parent bdcd65a commit 8b0e22a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PropellerLoad.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ def get_ports(self):
5858
self.logger.info("Generating ports list")
5959

6060
# Get COM ports
61-
success, out, err = loader(self, ["-P"])
61+
(success, out, err) = loader(self, ["-P"])
6262
if success:
6363
self.ports = out.splitlines()
6464
else:
6565
self.logger.debug('COM Port request returned %s', err)
6666

6767
# Get Wi-Fi ports
68-
success, out, err = loader(self, ["-W"])
68+
(success, out, err) = loader(self, ["-W"])
6969
if success:
7070
self.wports = out.splitlines()
7171
# Extract Wi-Fi module names and sort them
@@ -116,7 +116,7 @@ def download(self, action, file_to_load, com_port):
116116
command.extend([file_to_load.name.encode('ascii', 'ignore').replace('\\', '/')])
117117

118118
# Download
119-
success, out, err = loader(self, command)
119+
(success, out, err) = loader(self, command)
120120

121121
# Return results
122122
return success, out or '', err or ''

0 commit comments

Comments
 (0)