pragnakalp commited on
Commit
27cb5d4
·
1 Parent(s): c44a830

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def get_device_ip_address():
52
  ip_address = socket.gethostbyname(hostname)
53
  result['ip_addr'] = ip_address
54
  result['host'] = hostname
55
- print(result)
56
  return result
57
  elif os.name == "posix":
58
  gw = os.popen("ip -4 route show default").read().split()
 
52
  ip_address = socket.gethostbyname(hostname)
53
  result['ip_addr'] = ip_address
54
  result['host'] = hostname
55
+ print(ip_address)
56
  return result
57
  elif os.name == "posix":
58
  gw = os.popen("ip -4 route show default").read().split()