Commit 7d001597 authored by Gerion Entrup's avatar Gerion Entrup
Browse files

backend: fix python2 tuple concatenation

parent d83996b9
......@@ -43,7 +43,8 @@ class YouTubeBackend(pykka.ThreadingActor, backend.Backend):
self.uri_schemes_yt = ('youtube', 'yt')
self.uri_schemas_all = ('ytdl')
self.uri_schemes = self.uri_schemes_yt + self.uri_schemas_all
# casting can be dropped if python 3 only
self.uri_schemes = tuple(list(self.uri_schemes_yt) + list(self.uri_schemas_all))
class YouTubeLibraryProvider(backend.LibraryProvider):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment