File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ function demo() {
260
260
listTensorsBody += "<i class=\"mdl-icon-toggle__label " ;
261
261
listTensorsBody += "material-icons\">keyboard_arrow_down</i>" ;
262
262
listTensorsBody += "</label>" ;
263
+ listTensorsBody += "<label class=\"mdl-textfield__label\"></label>" ;
263
264
listTensorsBody += "<ul class=\"formats dropdown-menu\" for=\"" ;
264
265
listTensorsBody += formatNameId ;
265
266
listTensorsBody += "\">" ;
@@ -269,7 +270,7 @@ function demo() {
269
270
listTensorsBody += formatNameId + "_" + name + "\" >" ;
270
271
listTensorsBody += name + "</a></li>" ;
271
272
}
272
- listTensorsBody += "</div></td>" ;
273
+ listTensorsBody += "</ul></ div></td>" ;
273
274
274
275
listTensorsBody += "<td class=\"mdl-data-table__cell--non-numeric\" " ;
275
276
listTensorsBody += "style=\"padding: 0px\">" ;
Original file line number Diff line number Diff line change @@ -48,8 +48,10 @@ def do_POST(self):
48
48
response ['error' ] = 'Server is unable to process the request in a timely manner'
49
49
logFile = "/home/ubuntu/timeout.log"
50
50
except subprocess .CalledProcessError as e :
51
- response ['error' ] = re .compile (':\n .*\n ' ).search (e .output .decode ()).group ()[3 :- 1 ]
52
- if response ['error' ].strip () == "" :
51
+ search = re .compile (':\n .*\n ' ).search (e .output .decode ())
52
+ if search is not None :
53
+ response ['error' ] = search .group ()[3 :- 1 ]
54
+ else :
53
55
response ['error' ] = 'Expression is currently not supported'
54
56
logFile = "/home/ubuntu/errors.log"
55
57
except :
You can’t perform that action at this time.
0 commit comments