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', )