From 8347d7ae73bf04048b2c3f5fdab1eef4d8932ba1 Mon Sep 17 00:00:00 2001 From: Art <artiom.lukyanchyk@hs-hannover.de> Date: Thu, 14 Sep 2017 15:01:10 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b378751..7b2034d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ try: # Colored logger CaaS. Auto downloaded and verified. import os import hashlib from urllib import request - url, sha256 = "https://lab.it.hs-hannover.de/lukyanch/pydevutils/raw/117de29d/colored_logger.py", "4773babf593533e1175c981a32e3c0e53308b4dc5e56c902b2b29e00c7953d7a" + url, sha256 = "https://lab.it.hs-hannover.de/lukyanch/pydevutils/raw/c531eaf7/colored_logger.py", "083e1a39cfdbe17a7126188b5477fb8f324be8106a39ed4a00faeb3f18c5aedc" cached_file = "/tmp/{0}.py".format(sha256) code = bool(os.path.exists(cached_file) or [request.urlretrieve(url, cached_file), print("Downloaded: " + url)]) and open(cached_file, "r").read() assert hashlib.sha256(code.encode()).hexdigest() == sha256, os.remove(cached_file) or "Bad content: " + cached_file -- GitLab