1
0
Эх сурвалжийг харах

fix missing import in example

Weimin Wang 4 жил өмнө
parent
commit
c3eb38e83f
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  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: