cuu 6 年 前
コミット
fc86c7361e
1 ファイル変更2 行追加0 行削除
  1. 2 0
      sys.py/UI/counter_screen.py

+ 2 - 0
sys.py/UI/counter_screen.py

@@ -72,6 +72,8 @@ class CounterScreen(FullScreen):
         self._GobjectIntervalId = gobject.timeout_add(100,self.GObjectInterval)
         
     def StopCounter(self):
+        if self._Counting == False:
+            return
         self._Counting = False
         self._Number = 10
         commands.getstatusoutput("echo 0 > /proc/driver/led1")