Changeset 9558 for src/django_gheat


Ignore:
Timestamp:
Aug 25, 2011, 10:27:41 AM (13 years ago)
Author:
rick
Message:

Make sure not to import if no entries are found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/gheat/management/commands/import_droidstumbler.py

    r9557 r9558  
    9696      value_str = str((bssid,ssid.replace('%','%%'),encryption))
    9797      sql_values.append(value_str)
    98   counters['ap_added'] = bulk_sql('gheat_accespoint (`mac`, `ssid`, `encryptie`)',sql_values)
     98    counters['ap_added'] = bulk_sql('gheat_accespoint (`mac`, `ssid`, `encryptie`)',sql_values)
    9999
    100100  # Build mapping for meting import
Note: See TracChangeset for help on using the changeset viewer.