David Blume commited on 2016-09-12 21:01:20
Showing 1 changed files, with 2 additions and 2 deletions.
... | ... |
@@ -47,9 +47,9 @@ def write_file(full_pathname, data): |
47 | 47 |
def map_ip_to_location(ip): |
48 | 48 |
""" Use a meaningful location instead of an IP address where possible.""" |
49 | 49 |
if ip == '67.188.28.83': |
50 |
- return 'home'.ljust(13) |
|
50 |
+ return 'home' |
|
51 | 51 |
elif ip in ('50.224.7.233', '50.224.7.248'): |
52 |
- return 'work'.ljust(13) |
|
52 |
+ return 'work' |
|
53 | 53 |
return ip |
54 | 54 |
|
55 | 55 |
|
56 | 56 |