From c931efc2b5651eb6c7c5cf58f28141796ccc3173 Mon Sep 17 00:00:00 2001 From: Thomas Hassenstein <2021544@stud.hs-mannheim.de> Date: Mon, 12 Jun 2023 16:45:37 +0200 Subject: [PATCH] =?UTF-8?q?Dateien=20hochladen=20nach=20=E2=80=9EREST?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update i2c function for file unlinks and change error code for failed tests to 543 after discussing it with other teams --- REST/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/REST/app.py b/REST/app.py index b606c2e..0e42a29 100644 --- a/REST/app.py +++ b/REST/app.py @@ -26,7 +26,7 @@ def initialize_generator(): initialized = True return create_response(200, 'Successful operation; random number generator is ready and random numbers can be requested') if result == 400: - return create_response(500, 'Tests failed, try again') + return create_response(543, 'Tests failed, try again') if result is False: return create_response(500, 'Unable to generate random numbers. Restart/Reset System') else: