summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar OndrejIT <git@ondrej.it> 2016-05-19 16:11:56 +0200
committerGravatar OndrejIT <git@ondrej.it> 2016-05-19 16:11:56 +0200
commit27851105c2da30ee816f99a2692406c22a252d51 (patch)
tree29b8494eb805390a29f9fb96371f055159d31fea
parentImproved get_api_password (diff)
downloadpyload-27851105c2da30ee816f99a2692406c22a252d51.tar.xz
Python 2.5 fix
-rw-r--r--module/plugins/hoster/StreamCz.py2
1 files changed, 1 insertions, 1 deletions
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)