Skip to content

Commit

Permalink
Merge pull request #26 from r4ulcl/dev
Browse files Browse the repository at this point in the history
Fix error in v1.4
  • Loading branch information
r4ulcl authored Oct 1, 2023
2 parents cbb52ca + ee82b17 commit 22ff665
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion utils/database_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def insertAP(cursor, verbose, bssid, essid, manuf, channel, freqmhz, carrier,
if firstTimeSeen != 0:
sql = """UPDATE AP SET firstTimeSeen = CASE WHEN
firstTimeSeen = '' OR firstTimeSeen = '0' OR
firstTimeSeen IS NULL OR firstTimeSeen > (?)) AND
firstTimeSeen IS NULL OR firstTimeSeen > (?) AND
(?) <> 0 AND firstTimeSeen <> 0 THEN (?) ELSE
firstTimeSeen END WHERE bssid = (?)"""
if verbose:
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion utils/wifi_db_aircrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ def parse_log_csv(ouiMap, name, database, verbose, fake_lat, fake_lon):
# if row[6] != "0.000000":
errors += database_utils.insertSeenAP(
cursor, verbose, row[3], time,

'aircrack-ng', row[4], lat, lon,
'0.0', 0)

Expand Down
2 changes: 1 addition & 1 deletion wifi_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# import nest_asyncio ; nest_asyncio.apply() ->
# Fix RuntimeError: This event loop is already running”

VERSION = '1.4'
VERSION = '1.4.1'


def banner():
Expand Down

0 comments on commit 22ff665

Please sign in to comment.