Skip to content

Commit

Permalink
mnt: address some lint
Browse files Browse the repository at this point in the history
  • Loading branch information
akrherz committed Jun 28, 2024
1 parent 29ff499 commit 2da6cb0
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions htdocs/admin/siteprogress.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from io import StringIO

from pandas.io.sql import read_sql
from pyiem.util import get_dbconn
from pyiem.database import get_dbconn
from pyiem.webutil import iemapp

DBCONN = get_dbconn("sustainablecorn")
Expand Down Expand Up @@ -146,17 +146,6 @@ def application(environ, start_response):
if "site" in environ:
do_site(sio, environ.get("site"))
return
# mode = form.getfirst('mode', 'agronomic')
show_has = environ.get("has", "0") == "1"
show_period = environ.get("period", "0") == "1"
show_dnc = environ.get("dnc", "0") == "1"
show_no = environ.get("no", "0") == "1"
if environ.get("a") is None:
show_has = True
show_period = True
show_dnc = True
show_no = True
# Forget the above, we hard code things like so
show_has = True
show_period = True
show_dnc = True
Expand Down

0 comments on commit 2da6cb0

Please sign in to comment.