Closed ch4bes closed 6 years ago
In scheduler.py, the pin variable is assigned based on the function listed in the db:
https://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/scheduler.py#L27-L32
This seems redundant, since these variables are already in the pins dictionary in main.py:
https://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/main.py#L25-L29
The function field comes from schedulerform.py:
https://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/schedulerform.py#L6-L7
Issue addressed here
In scheduler.py, the pin variable is assigned based on the function listed in the db:
https://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/scheduler.py#L27-L32
This seems redundant, since these variables are already in the pins dictionary in main.py:
https://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/main.py#L25-L29
The function field comes from schedulerform.py:
https://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/schedulerform.py#L6-L7