Bläddra i källkod

fix missing import in example

Weimin Wang 4 år sedan
förälder
incheckning
c3eb38e83f
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      pywebio/pin.py

+ 1 - 0
pywebio/pin.py

@@ -100,6 +100,7 @@ Pin utils
         :name: set-pin-value
         :summary: Use the `pin` object to set the value of pin widget
 
+        import time  # ..demo-only
         put_input('counter', type='number', value=0)
 
         while True: