Skip to content

Commit

Permalink
fix: fixes bug not setting history
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Green committed Jun 14, 2023
1 parent dd944d4 commit d2ac748
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""
__author__ = "Russell Green"
__license__ = "MIT"
__version__ = "1.0.2"
__version__ = "1.0.3"
__maintainer__ = "Russell.Green"
__email__ = "me@rusty.green"
__status__ = "Production"
Expand Down Expand Up @@ -251,6 +251,7 @@ def set_pin_history(pin):
history = {"lastChange": datetime.datetime.now()}
record = get_pin_history(pin)
record.update(history)
gpio_pin_history[pin] = record


def setup_gpio():
Expand Down

0 comments on commit d2ac748

Please sign in to comment.