From 27851105c2da30ee816f99a2692406c22a252d51 Mon Sep 17 00:00:00 2001 From: OndrejIT Date: Thu, 19 May 2016 16:11:56 +0200 Subject: Python 2.5 fix --- module/plugins/hoster/StreamCz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') diff --git a/module/plugins/hoster/StreamCz.py b/module/plugins/hoster/StreamCz.py index 3ac96dc36..ab940301f 100644 --- a/module/plugins/hoster/StreamCz.py +++ b/module/plugins/hoster/StreamCz.py @@ -13,7 +13,7 @@ def get_api_password(episode): api_key = "fb5f58a820353bd7095de526253c14fd" timestamp = int(round(time.time() / 24 / 3600)) - api_pass = "{0}/episode/{1}{2}".format(api_key, episode, timestamp) + api_pass = api_key + "/episode/" + episode + str(timestamp) m = hashlib.md5(api_pass) -- cgit v1.2.3