| skipped 80 lines |
81 | 81 | | fake_lat = args.lat |
82 | 82 | | fake_lon = args.lon |
83 | 83 | | |
84 | | - | # If its without format but ends in dot remove the dot |
85 | | - | if variable.endswith('.'): |
86 | | - | variable = variable[:-1] |
87 | | - | |
88 | 84 | | print(captures) |
89 | 85 | | |
90 | 86 | | if verbose: |
| skipped 95 lines |
186 | 182 | | database, verbose) |
187 | 183 | | else: |
188 | 184 | | print("Not format found!") |
| 185 | + | #Remove dot at end if not format found |
| 186 | + | if capture.endswith('.'): |
| 187 | + | capture = capture[:-1] |
| 188 | + | |
189 | 189 | | wifi_db_aircrack.parse_netxml(ouiMap, capture, |
190 | 190 | | database, verbose) |
191 | 191 | | wifi_db_aircrack.parse_kismet_csv(ouiMap, capture, |
| skipped 13 lines |