Parcourir la source

re-enabel: error-carch

micha il y a 3 jours
Parent
commit
7a6d0ec2c4
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      vpu/vpu_live4.py

+ 3 - 3
vpu/vpu_live4.py

@@ -287,9 +287,9 @@ class PixelMedia():
                 elif self._media_nr < len(MEDIALIST):
                     self.fname = str(MEDIALIST[self._media_nr])
                     self.init()
-        finally:pass
-        #except Exception as e:
-        #    cprint("PixelMedia.select_video()",dmx_value,e,color="red")
+            #finally:pass
+        except Exception as e:
+            cprint("PixelMedia.select_video()",dmx_value,e,color="red")
 
     def close_cap():
         print(dir(self.Rcap)) # = cv2.VideoCapture(self.fpath+self.fname)