summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnst Widerberg <ernst@sunet.se>2022-01-14 08:40:25 +0100
committerErnst Widerberg <ernst@sunet.se>2022-01-14 08:40:25 +0100
commit18e3990340a5015e118b52aabc530a3536b843a7 (patch)
tree356ad9ac7bfac1fba3292dc530467ae09133d186
parentbfe891000c2d6bb2c73bdc635d22640a3e89e729 (diff)
Printing bugfix
-rwxr-xr-xsrc/main.py4
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)