parent
48d201f964
commit
673c3f1e39
|
@ -55,7 +55,7 @@ def get_random_numbers():
|
||||||
random_numbers = analyze_data(int(quantity), int(bits), startup=False)
|
random_numbers = analyze_data(int(quantity), int(bits), startup=False)
|
||||||
|
|
||||||
if random_numbers == 400:
|
if random_numbers == 400:
|
||||||
return create_response(500, 'Tests failed, try again')
|
return create_response(543, 'Tests failed, try again')
|
||||||
if random_numbers is False:
|
if random_numbers is False:
|
||||||
return create_response(500, 'Unable to generate random numbers. Restart/Reset System')
|
return create_response(500, 'Unable to generate random numbers. Restart/Reset System')
|
||||||
if random_numbers:
|
if random_numbers:
|
||||||
|
|
Loading…
Reference in New Issue