]> git.sesse.net Git - vlc/blobdiff - bindings/python-ctypes/override.py
python-ctypes: fix pylint/pyflakes warnings
[vlc] / bindings / python-ctypes / override.py
index 1a3968463d3ae140c5dcb5b065eddc8496eec24b..2813ac111140d17d1a3284e7bd1de2646ba74e39 100644 (file)
@@ -144,7 +144,7 @@ class MediaControl:
         @param end: the end position
         """
         if not isinstance(begin, MediaControlPosition):
-            begin=self.value2position(pos)
+            begin=self.value2position(begin)
         if not isinstance(end, MediaControlPosition):
             end=self.value2position(end)
         e=MediaControlException()