]> CRI, Mines Paris - PSL - minwii.git/blobdiff - src/minwii/app.py
Coquille--
[minwii.git] / src / minwii / app.py
index f36094c2659b37d2672c0a4144e9334719a41b93..d456b8e7ae7f7a447a156e6b4242639f225857d0 100755 (executable)
@@ -73,15 +73,13 @@ class MinWii(object):
             if exit : break
             
             WT.selectWiimote(wiimoteIndex)
             if exit : break
             
             WT.selectWiimote(wiimoteIndex)
-            WT.resume()
 
             instrumentDescription = self.selectInstrument()
             if not instrumentDescription :
 
             instrumentDescription = self.selectInstrument()
             if not instrumentDescription :
-                WT.pause()
                 continue
             
                 continue
             
+            WT.resume()
             self.runPlayingScreen(songFile, playMode, instrumentDescription)
             self.runPlayingScreen(songFile, playMode, instrumentDescription)
-            
             WT.pause()
     
     
             WT.pause()