Skip to content

Commit

Permalink
scorp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dadav committed Apr 18, 2020
1 parent 6038f55 commit 44e1e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnagotchi/plugins/default/webgpsmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def load_gps_from_dir(self, gpsdir, newest_only=False):
}

# get ap password if exist
check_for = os.path.basename(pos_file[:-9]) + ".pcap.cracked"
check_for = os.path.basename(pos_file).split(".")[0] + ".pcap.cracked"
if check_for in all_files:
gps_data[ssid + "_" + mac]["pass"] = pos.password()

Expand Down

0 comments on commit 44e1e79

Please sign in to comment.