Merge pull request #586 from BraedenP232/patch-1

Fix AttributeError in wpa-sec plugin when skipping failed uploads
This commit is contained in:
Jayofelony
2026-07-09 23:16:47 +02:00
committed by GitHub
+1 -1
View File
@@ -125,7 +125,7 @@ class WpaSec(plugins.Plugin):
except requests.exceptions.RequestException:
logging.exception("WPA_SEC: RequestException uploading %s, skipping until reload.", handshake)
self.skip_until_reload.append(handshake)
self.skip_until_reload.add(handshake)
except OSError:
logging.exception("WPA_SEC: OSError uploading %s, deleting from db.", handshake)
cursor.execute('DELETE FROM handshakes WHERE path = ?', (handshake,))