From aebeadbcf7c73a5333c8909f52ac7358af703246 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 4 Aug 2019 17:17:01 +0200 Subject: [PATCH] args can be either a list or a tuple - treat accordingly --- platypush/plugins/media/omxplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/media/omxplayer.py b/platypush/plugins/media/omxplayer.py index e76b7288..d44ac22f 100644 --- a/platypush/plugins/media/omxplayer.py +++ b/platypush/plugins/media/omxplayer.py @@ -58,7 +58,7 @@ class MediaOmxplayerPlugin(MediaPlugin): """ if subtitles: - args.append('--subtitles', subtitles) + args += ('--subtitles', subtitles) resource = self._get_resource(resource) if self._player: