mirror of
https://github.com/seriousm4x/UpSnap.git
synced 2026-07-22 05:32:27 -04:00
fix no device name = unknown
This commit is contained in:
@@ -88,7 +88,7 @@ def scan(request):
|
||||
ip = ip.replace("(", "")
|
||||
ip = ip.replace(")", "")
|
||||
else:
|
||||
name = None
|
||||
name = "Unknown"
|
||||
ip = line_splitted[4]
|
||||
elif line.startswith(mac_line):
|
||||
line_splitted = line.split()
|
||||
|
||||
Reference in New Issue
Block a user