Dateien hochladen nach „REST“
update i2c function for file unlinks and change error code for failed tests to 543 after discussing it with other teamsmain
parent
5dcafb6498
commit
c931efc2b5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue