Skip to content

Commit 614d9aa

Browse files
committed
Misc changes
1 parent b3092e4 commit 614d9aa

File tree

6 files changed

+328
-79
lines changed

6 files changed

+328
-79
lines changed

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ name = "pypi"
77
zeroconf = "*"
88
netifaces = "*"
99
ipaddress = "*"
10+
coverage = "*"
1011

1112
[dev-packages]
1213
twine = "*"

Pipfile.lock

Lines changed: 109 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lineus/diagnostics.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ def check_line_us(self, line_us):
8787
def connect_line_us(self, line_us):
8888
success = self.my_line_us.connect(line_us)
8989
if success:
90-
return True, self.my_line_us.get_hello_string()
90+
hello = self.my_line_us.get_hello_string()
91+
self.my_line_us.disconnect()
92+
return True, hello
9193
else:
9294
return False, {}
9395

@@ -108,7 +110,6 @@ def cancelled(self):
108110
else:
109111
return False
110112

111-
112113
def cancel(self):
113114
self.status('Cancelling')
114115
self.cancelled_flag = True

0 commit comments

Comments
 (0)