From d50b6b3afb1e66490233fff15827d83931c155a2 Mon Sep 17 00:00:00 2001 From: Art <artiom.lukyanchyk@hs-hannover.de> Date: Tue, 12 Sep 2017 17:11:40 +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 2d574b8..999293c 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ try: # Colored logger CaaS. Auto downloaded and verified. from urllib import request cache, url = "/tmp/_colored_logger.py", "https://lab.it.hs-hannover.de/lukyanch/pydevutils/raw/fa4af6555a8eb996e1be158ca12691de9b33ba45/colored_logger.py" code = bool(os.path.exists(cache) or request.urlretrieve(url, cache)) and open(cache, "r").read() - assert hashlib.sha256(code.encode()).hexdigest() == "d4d261a40f95733f9fb184fc4ccb55d007b880cb62c8d6a06824d43eeb1391ac", "unrecognized content in" + cache + assert hashlib.sha256(code.encode()).hexdigest() == "d4d261a40f95733f9fb184fc4ccb55d007b880cb62c8d6a06824d43eeb1391ac", "unrecognized content in " + cache exec(code) except Exception as e: print("No colored logger: {e.__class__.__name__}: {e}".format(e=e)) -- GitLab