@@ -581,7 +581,7 class ABSConfiguration(Configuration): | |||||
581 | route = 'http://'+module_ip+':'+str(module_port)+'/status' |
|
581 | route = 'http://'+module_ip+':'+str(module_port)+'/status' | |
582 |
|
582 | |||
583 | try: |
|
583 | try: | |
584 |
r = requests.get(route, timeout= |
|
584 | r = requests.get(route, timeout=1)#, timeout=0.7) | |
585 | answer = r.json() |
|
585 | answer = r.json() | |
586 | modules_status[str(i)] = answer['status'] |
|
586 | modules_status[str(i)] = answer['status'] | |
587 | module_messages[str(i)] = answer['message'] |
|
587 | module_messages[str(i)] = answer['message'] |
@@ -1,1 +1,2 | |||||
1 |
{% extends "experiment_edit.html" %} |
|
1 | {% extends "experiment_edit.html" %} | |
|
2 | {% csrf_token %} |
@@ -14,7 +14,7 https://docs.djangoproject.com/en/1.8/ref/settings/ | |||||
14 | import os |
|
14 | import os | |
15 |
|
15 | |||
16 | BASE_DIR = os.path.dirname(os.path.abspath(__file__)) |
|
16 | BASE_DIR = os.path.dirname(os.path.abspath(__file__)) | |
17 |
|
17 | print BASE_DIR | ||
18 | # Quick-start development settings - unsuitable for production |
|
18 | # Quick-start development settings - unsuitable for production | |
19 | # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ |
|
19 | # See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/ | |
20 |
|
20 |
General Comments 0
You need to be logged in to leave comments.
Login now