Commits

Lenard Lindstrom committed 16fa63b

apply Cristoph Gohlke's patch to camera module to fix a stray global statement

Comments (0)

Files changed (1)

lib/_camera_vidcapture.py

 
 
 def init():
-
-
+    global vidcap
     try:
         import vidcap as vc
     except ImportError:
         from VideoCapture import vidcap as vc
-        
-    global vidcap
-    vidcap = vc        
-
+    vidcap = vc
 
 def quit():
     global vidcap