From 4d8caa6dc77cdf7931bef9c3bbbfbfb746660bb5 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Mon, 20 Jun 2022 21:54:15 +0200 Subject: [PATCH] :rotating_light: Fixed linter warnings --- classquiz/helpers/__init__.py | 2 -- frontend/src/lib/editor.svelte | 24 +----------------------- frontend/src/lib/editor/uploader.svelte | 2 +- frontend/src/lib/hashcash.ts | 1 - frontend/src/lib/stores.ts | 2 +- frontend/src/routes/create.svelte | 3 --- frontend/src/routes/edit.svelte | 3 --- frontend/src/routes/explore.svelte | 2 -- frontend/src/routes/index.svelte | 1 - frontend/src/routes/search.svelte | 1 - 10 files changed, 3 insertions(+), 38 deletions(-) diff --git a/classquiz/helpers/__init__.py b/classquiz/helpers/__init__.py index 1eb3544..07b43fb 100644 --- a/classquiz/helpers/__init__.py +++ b/classquiz/helpers/__init__.py @@ -117,7 +117,6 @@ def check_hashcash(data: str, input_data: str) -> bool: :type input_data: str :return: A boolean value. """ - print(data, input_data, hc_check(data)) if not hc_check(data): return False @@ -132,5 +131,4 @@ def check_hashcash(data: str, input_data: str) -> bool: assert ext == "" return True except AssertionError as e: - print(e, "hilo") return False diff --git a/frontend/src/lib/editor.svelte b/frontend/src/lib/editor.svelte index cdee7ef..5356a71 100644 --- a/frontend/src/lib/editor.svelte +++ b/frontend/src/lib/editor.svelte @@ -1,37 +1,20 @@