Skip to content

Commit 8a8635f

Browse files
committed
Fixed linting errors
1 parent f47c50b commit 8a8635f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

service/routes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def create_counters(name):
7878
Returns:
7979
dict: the counter and it's value
8080
"""
81-
app.logger.info(f"Request to Create counter {name}...")
81+
app.logger.info("Request to Create counter %s...", name)
8282

8383
# See if the counter already exists and send an error if it does
8484
counter = Counter.find(name)
@@ -111,7 +111,7 @@ def read_counters(name):
111111
Returns:
112112
dict: the counter and it's value
113113
"""
114-
app.logger.info(f"Request to Read counter {name}...")
114+
app.logger.info("Request to Read counter %s...", name)
115115

116116
# Get the current counter
117117
counter = Counter.find(name)
@@ -135,7 +135,7 @@ def update_counters(name):
135135
Returns:
136136
dict: the counter and it's value
137137
"""
138-
app.logger.info(f"Request to Update counter {name}...")
138+
app.logger.info("Request to Update counter %s...", name)
139139

140140
# Get the current counter
141141
counter = Counter.find(name)
@@ -161,7 +161,7 @@ def delete_counters(name):
161161
Returns:
162162
str: always returns an empty string
163163
"""
164-
app.logger.info(f"Request to Delete counter {name}...")
164+
app.logger.info("Request to Delete counter %s...", name)
165165

166166
# Get the current counter
167167
counter = Counter.find(name)
@@ -186,7 +186,7 @@ def reset_counters(name):
186186
Returns:
187187
dict: the counter and it's zero value
188188
"""
189-
app.logger.info(f"Request to Reset counter {name}...")
189+
app.logger.info("Request to Reset counter %s...", name)
190190

191191
# Get the current counter
192192
counter = Counter.find(name)

0 commit comments

Comments
 (0)