diff options
author | Ernst Widerberg <ernst@sunet.se> | 2022-01-14 08:40:25 +0100 |
---|---|---|
committer | Ernst Widerberg <ernst@sunet.se> | 2022-01-14 08:40:25 +0100 |
commit | 18e3990340a5015e118b52aabc530a3536b843a7 (patch) | |
tree | 356ad9ac7bfac1fba3292dc530467ae09133d186 /src | |
parent | bfe891000c2d6bb2c73bdc635d22640a3e89e729 (diff) |
Printing bugfix
Diffstat (limited to 'src')
-rwxr-xr-x | src/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |