Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
flatsiedatsie authored Mar 21, 2022
1 parent f71550f commit 167b6d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
}
},
"short_name": "Network pres",
"version": "1.3.5"
"version": "1.3.6"
}
4 changes: 2 additions & 2 deletions pkg/presence_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ def arpa(self):
if self.DEBUG:
print("spotted IP address in nbtscan_results, so extracting name form there")
try:
for nbtscan_line in nbtscan_results.split('\n'):
for nbtscan_line in nbtscan_results.stdout.split('\n'):
if ip_address in nbtscan_line:
#line = line.replace("#PRE","")
nbtscan_line = nbtscan_line.rstrip()
Expand Down Expand Up @@ -1165,7 +1165,7 @@ def arpa(self):
if self.DEBUG:
print("spotted IP address in nbtscan_results, so extracting name form there")
try:
for nbtscan_line in nbtscan_results.split('\n'):
for nbtscan_line in nbtscan_results.stdout.split('\n'):
if ip_address in nbtscan_line:
#line = line.replace("#PRE","")
nbtscan_line = nbtscan_line.rstrip()
Expand Down

0 comments on commit 167b6d9

Please sign in to comment.