This commit is contained in:
Jack Eilles 2024-01-28 10:50:49 +00:00
parent 33fab474fa
commit b1fefe2959

View file

@ -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())