Changeset 9176 for src/django_gheat/gheat/management/commands
- Timestamp:
- May 10, 2011, 6:52:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/gheat/management/commands/import_kismet.py
r9173 r9176 69 69 70 70 # XXX: Signal need properly be a relation of signal_dbm and noice_dbm 71 signaal = 100 + int(point.attrib['signal_dbm']) 71 try: 72 signaal = 100 + int(point.attrib['signal_dbm']) 73 except KeyError: 74 print "#ERROR: Point '%s' does not have signal strengh" % point 72 75 73 76 # TODO: This also saves semi-duplicates; multiple entries with the same values, except
Note:
See TracChangeset
for help on using the changeset viewer.