summaryrefslogtreecommitdiff
path: root/jimbrella/jform.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-02-03 16:11:38 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-02-03 16:11:38 +0800
commitabff246c6af8bf64fce12e5f95fd54e3787d470b (patch)
tree7b0cdfad270eaa603e60b58932a9271a3b747619 /jimbrella/jform.py
parent616116a84120220adb8e36cb364f08b0a638807e (diff)
Reformat w/ black
Diffstat (limited to 'jimbrella/jform.py')
-rw-r--r--jimbrella/jform.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jimbrella/jform.py b/jimbrella/jform.py
index c6503c1..df1837e 100644
--- a/jimbrella/jform.py
+++ b/jimbrella/jform.py
@@ -122,7 +122,9 @@ class JForm:
"name": ans[0]["answer"],
"id": ans[1]["answer"],
"phone": ans[2]["answer"],
- "key": int(ans[3]["answer"]) if ans[3]["answer"].isdecimal() else None,
+ "key": int(ans[3]["answer"])
+ if ans[3]["answer"].isdecimal()
+ else None,
"date": isoparse(sheet["submitted_at"]),
}
)