From fbf6a389030a15f4fe1f425227e1742fc933df57 Mon Sep 17 00:00:00 2001 From: gashapwn Date: Fri, 27 Nov 2020 00:47:31 +0000 Subject: [PATCH] added some comments --- app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 5b4e369..fa4e216 100644 --- a/app.py +++ b/app.py @@ -76,7 +76,7 @@ def req(): def __init__(self, w_name, w_type, w_opt): self.w_name = w_name self.w_type = w_type - self.w_opt = w_opt + self.w_opt = w_opt # only for choice type widg # Configuration for our request form rt = { @@ -119,6 +119,8 @@ def signup(): # this checks how many requests we have # and gives us a free ID so we can save # our request + # This sets the ID of the request we're + # abou to save to dsik if(len(glob.glob("./test/[0-9]*ident*")) == 0): new_id = int(INIT_REQ_ID) new_id_str = INIT_REQ_ID