diff --git a/blueprints/api.py b/blueprints/api.py index c498e8c..76ee6b9 100644 --- a/blueprints/api.py +++ b/blueprints/api.py @@ -90,7 +90,7 @@ def timezone(): current_time = datetime.datetime.now(tz) return jsonify( { - "timezone": tz.utcoffset(current_time).total_seconds() / 3600, + "timezone": tz.utcoffset(current_time).total_seconds() / 3600, # type: ignore "timezone_name": tz.tzname(current_time), "ip": getClientIP(request), "status": HTTP_OK, diff --git a/server.py b/server.py index 1aa4719..b71bb02 100644 --- a/server.py +++ b/server.py @@ -258,7 +258,7 @@ def index(): html_url = git["repo"]["html_url"] repo = '' + repo_name + "" - timezone_offset = TZ.utcoffset(datetime.datetime.now()).total_seconds() / 3600 + timezone_offset = TZ.utcoffset(datetime.datetime.now()).total_seconds() / 3600 # type: ignore time = datetime.datetime.now().strftime("%B %d") time += """