Commit Graph

6 Commits

Author SHA1 Message Date
blacktwin
5a0503fd01 headless support 2017-07-21 11:35:49 -04:00
blacktwin
657ea2f3e7 check PLATFORM_COLORS
if platform is missing from PLATFORM_COLORS then default to DEFAULT_COLOR.
2017-07-21 10:31:29 -04:00
blacktwin
e3550aea81 check for total user count
Add check for user count in user_table to allow for greater than 25 users
2017-07-21 10:20:35 -04:00
blacktwin
9a2515bcd7 resolve n/a returns from geolite2
Passing on errors in get_geoip_info function instead of [returning it](https://github.com/blacktwin/JBOPS/blob/master/maps/ips_to_maps.py#L151).

Changing the [get_geo_dict function's exception](https://github.com/blacktwin/JBOPS/blob/master/maps/ips_to_maps.py#L195-L198) to catch and return culprit.

```python
    except AttributeError:
        print('User: {} IP: {} caused error in geo_dict.'.format(a.friendly_name, a.ip_address))
        pass
    except Exception as e:
        print(e)
        pass
    return geo_dict
```
2017-07-21 09:29:32 -04:00
blacktwin
e9331861aa Update ips_to_maps.py 2017-07-14 14:32:24 -04:00
blacktwin
fb150957c2 Create ips_to_maps.py 2017-07-13 10:26:31 -04:00