def lightTagHandler(v, t, a):
     if v:
         flash.on()
     else:
         try:
             flash.off()
         except Exception as e:
             print(e)
         flash.release()
Beispiel #2
0
 def release(self):
     flash.release()