diff options
author | BonfaceKilz | 2020-08-19 02:31:31 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-08-19 02:34:42 +0300 |
commit | ba123e1e0fe693f9778993c3f8e5a70a28658a4c (patch) | |
tree | 6d02bac212da1bfeeb8330b94971383cde053602 /wqflask/utility/tools.py | |
parent | bafbb5b7a4b7db2ca230f292eb45be7e67985259 (diff) | |
download | genenetwork2-ba123e1e0fe693f9778993c3f8e5a70a28658a4c.tar.gz |
Fix dictionary iteration methods
Run `2to3-3.8 -f dict -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-dict> and
<https://stackoverflow.com/questions/17695456/why-does-python-3-need-dict-items-to-be-wrapped-with-list>
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r-- | wqflask/utility/tools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py index f790d424..51a87fe1 100644 --- a/wqflask/utility/tools.py +++ b/wqflask/utility/tools.py @@ -220,7 +220,7 @@ def show_settings(): logger.info(OVERRIDES) logger.info(BLUE+"Mr. Mojo Risin 2"+ENDC) - keylist = app.config.keys() + keylist = list(app.config.keys()) print("runserver.py: ****** Webserver configuration - k,v pairs from app.config ******") keylist.sort() for k in keylist: |