diff options
| -rwxr-xr-x | monitor/josef_leveldb.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/monitor/josef_leveldb.py b/monitor/josef_leveldb.py index 5a8917b..bf43e75 100755 --- a/monitor/josef_leveldb.py +++ b/monitor/josef_leveldb.py @@ -85,7 +85,9 @@ def db_add_certs(db, data): try: for line in cert["SAN"].split("DNS:")[1:]: db_add_domain(db, line, str(cert)) - except IndexError, KeyError: + except KeyError: + pass + except IndexError: pass |
