From b1fefe29596334ffca9b4a627f97371dd119c790 Mon Sep 17 00:00:00 2001 From: Jack Eilles Date: Sun, 28 Jan 2024 10:50:49 +0000 Subject: [PATCH] thing --- config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index ae740e6..1ed76cd 100644 --- a/config.py +++ b/config.py @@ -71,11 +71,11 @@ class Errors: "nuh uh (executables not allowed)" ] - def file404Error(): + def file404Error(self): return random.choice(self.file404.items()) - def fileTooLargeError(): + def fileTooLargeError(self): return random.choice(self.fileTooLarge.items()) - def fileTypeNotAllowedError(): + def fileTypeNotAllowedError(self): return random.choice(self.fileTypeNotAllowed.items()) \ No newline at end of file