From 0637c8ccda669fe38c071ef8ac784fdabe1d4922 Mon Sep 17 00:00:00 2001 From: jeancf Date: Tue, 1 Jun 2021 16:12:05 +0200 Subject: [PATCH] Corrected basicConfig parzmeter --- twoot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twoot.py b/twoot.py index 5a3272e..ced0933 100755 --- a/twoot.py +++ b/twoot.py @@ -278,7 +278,7 @@ def main(argv): logging.basicConfig( filename=twit_account + '.log', level=logging.INFO, - fmt='%(asctime)s %(levelname)-8s %(message)s', + format='%(asctime)s %(levelname)-8s %(message)s', datefmt='%Y-%m-%d %H:%M:%S', )