Skip to content

Commit fef6d7b

Browse files
committed
Minor
1 parent 9584474 commit fef6d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def view_logs_ajax(order_id: str):
342342
log_files = [
343343
os.path.join(FOLDER_LOGS, file)
344344
for file in os.listdir(FOLDER_LOGS)
345-
if file.endswith(EXTENSION_LOGS)
345+
if EXTENSION_LOGS in file
346346
]
347347
for file in log_files:
348348
with open(file, "r") as f:

0 commit comments

Comments
 (0)