From dc08287f5f42454ad8f95b0370129869df67b71d Mon Sep 17 00:00:00 2001 From: Tobias Perschon Date: Fri, 15 Mar 2019 23:25:51 +0100 Subject: [PATCH] additional py3 update --- Adafruit_Video_Looper/hello_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):