From 6aa0183a437dd262fdd7871c6fa9db3ed309b468 Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Fri, 15 Jan 2021 11:57:44 +0100 Subject: [PATCH] Attempt to fix failing test --- youtube_dl/extractor/vier_auth_aws.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/vier_auth_aws.py b/youtube_dl/extractor/vier_auth_aws.py index adcf6fe13..f5b9b14ab 100644 --- a/youtube_dl/extractor/vier_auth_aws.py +++ b/youtube_dl/extractor/vier_auth_aws.py @@ -1,3 +1,6 @@ +# coding: utf-8 +from __future__ import unicode_literals + # Taken from https://github.com/add-ons/plugin.video.viervijfzes/blob/master/resources/lib/viervijfzes/auth_awsidp.py # with some small modifications (replacement of six and requests, removal of unused function, reformatting) # This file is licensed as GPL-3 from https://github.com/add-ons/plugin.video.viervijfzes: @@ -6,7 +9,7 @@ """ Amazon Cognito implementation without external dependencies """ # Based on https://github.com/retrospect-addon/plugin.video.retrospect/blob/master/channels/channel.be/vier/awsidp.py -from __future__ import absolute_import, division, unicode_literals +from __future__ import absolute_import, division import base64 import binascii