From ce49d8aae3749ea782209ee02db4a304c5097df6 Mon Sep 17 00:00:00 2001 From: "Christian T. Jacobs" Date: Sat, 14 Oct 2017 23:10:16 +0100 Subject: [PATCH] flake8 --- pyqso/logbook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyqso/logbook.py b/pyqso/logbook.py index 63be2d9..8c49763 100644 --- a/pyqso/logbook.py +++ b/pyqso/logbook.py @@ -1133,9 +1133,9 @@ class Logbook: g = geocoder.google(country) latitude, longitude = g.latlng logging.debug("QTH coordinates found: (%s, %s)", str(latitude), str(longitude)) - except ValueError as e: + except ValueError: logging.exception("Unable to lookup QTH coordinates.") - except Exception as e: + except Exception: logging.exception("Unable to lookup QTH coordinates. Check connection to the internets?") return