From 18e3990340a5015e118b52aabc530a3536b843a7 Mon Sep 17 00:00:00 2001 From: Ernst Widerberg Date: Fri, 14 Jan 2022 08:40:25 +0100 Subject: Printing bugfix --- src/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.py b/src/main.py index 9beace0..3a7a3c8 100755 --- a/src/main.py +++ b/src/main.py @@ -37,8 +37,8 @@ for i in range(10): try: db = DictDB() except requests.exceptions.ConnectionError: - print(f'Database not responding, will try again soon.' + - 'Attempt {i + 1} of 10.') + print('Database not responding, will try again soon.' + + f'Attempt {i + 1} of 10.') else: break time.sleep(10) -- cgit v1.1