From 0d3916f1a6ed1badc222dd6a4984c83e59419d6f Mon Sep 17 00:00:00 2001 From: sankalp_j Date: Tue, 18 Sep 2018 15:27:32 +0530 Subject: [PATCH] fixes --- README.md | 4 ++++ looper/app.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 56af91a..e833cba 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,10 @@ Inspired by this blog [`here`](https://www.g-loaded.eu/2016/11/24/how-to-termina ```sh python setup.py install ``` +or +```sh +pip install git+git://github.com/sankalpjonn/looper.git +``` ## writing a job looks like this diff --git a/looper/app.py b/looper/app.py index 34eebfd..eac9f4c 100644 --- a/looper/app.py +++ b/looper/app.py @@ -7,7 +7,7 @@ from helpers import service_shutdown class Looper(): def __init__(self): self.jobs = [] - logger = logging.getLogger('looperr') + logger = logging.getLogger('looper') ch = logging.StreamHandler(sys.stdout) ch.setLevel(logging.INFO) formatter = logging.Formatter('[%(asctime)s] [%(name)s] [%(levelname)s] %(message)s')