Skip to content

Commit d2ac748

Browse files
author
Russell Green
committed
fix: fixes bug not setting history
1 parent dd944d4 commit d2ac748

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/server.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"""
1212
__author__ = "Russell Green"
1313
__license__ = "MIT"
14-
__version__ = "1.0.2"
14+
__version__ = "1.0.3"
1515
__maintainer__ = "Russell.Green"
1616
__email__ = "[email protected]"
1717
__status__ = "Production"
@@ -251,6 +251,7 @@ def set_pin_history(pin):
251251
history = {"lastChange": datetime.datetime.now()}
252252
record = get_pin_history(pin)
253253
record.update(history)
254+
gpio_pin_history[pin] = record
254255

255256

256257
def setup_gpio():

0 commit comments

Comments
 (0)