diff --git a/Adafruit_Video_Looper/hello_video.py b/Adafruit_Video_Looper/hello_video.py index de1cd3f..f089bae 100644 --- a/Adafruit_Video_Looper/hello_video.py +++ b/Adafruit_Video_Looper/hello_video.py @@ -17,7 +17,7 @@ class HelloVideoPlayer(object): def _load_config(self, config): self._extensions = config.get('hello_video', 'extensions') \ - .translate(None, ' \t\r\n.') \ + .translate(str.maketrans('', '', ' \t\r\n.')) \ .split(',') def supported_extensions(self):