diff options
| author | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-10 15:07:30 +0200 |
|---|---|---|
| committer | Josef Gustafsson <josef.gson@gmail.com> | 2015-09-10 15:07:30 +0200 |
| commit | de72280d366bee57e9e6e1038895967ae2c69b08 (patch) | |
| tree | 18a3e465599cbea20ead9c2651cb6b36385f0280 | |
| parent | 1f9cea67e982df1b9e35eb415d25093f24b9fcc1 (diff) | |
bugfix
| -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 |
