Revision 303
check for error in qry1
trunk/toolbox/main.c | ||
---|---|---|
39 | 39 |
* TMAX - minutes until power is killed (unless tool is on) |
40 | 40 |
*/ |
41 | 41 |
#define TWAIT 1 |
42 |
#define TWARN 15
|
|
43 |
#define TMAX 17
|
|
42 |
#define TWARN 5 |
|
43 |
#define TMAX 7 |
|
44 | 44 |
|
45 | 45 |
uint8_t sec; |
46 | 46 |
uint8_t min; |
trunk/swipe/tooltron.py | ||
---|---|---|
190 | 190 |
|
191 | 191 |
result = cursor.fetchall() |
192 | 192 |
|
193 |
if len(result) == 0: |
|
194 |
print "ERROR: result is empty!" |
|
195 |
logMessage("user has no ACLS or server is down...") |
|
196 |
continue |
|
197 |
|
|
193 | 198 |
acl = [] |
194 | 199 |
|
195 | 200 |
for r in result: |
trunk/programmer/netprog.py | ||
---|---|---|
37 | 37 |
else: |
38 | 38 |
return 0 |
39 | 39 |
|
40 |
common.initBus(sys.argv[1]) |
|
40 |
common.initBus(sys.argv[1], timeout=10)
|
|
41 | 41 |
|
42 | 42 |
def sendCommand(t, cmd): |
43 | 43 |
common.sendMessage(t,cmd,"") |
Also available in: Unified diff