diff options
Diffstat (limited to 'linhes/linhes-system/idle.py')
-rwxr-xr-x | linhes/linhes-system/idle.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linhes/linhes-system/idle.py b/linhes/linhes-system/idle.py index 373ae24..778677d 100755 --- a/linhes/linhes-system/idle.py +++ b/linhes/linhes-system/idle.py @@ -114,7 +114,11 @@ def in_use(cmdargs,cursor): msg(cmdargs," Programs are NOT in use.") return True else: - msg(cmdargs," Programs are in use.") + msg(cmdargs," %s programs are in use." %prginuse) + cursor.execute("select recusage,chanid,lastupdatetime from inuseprograms") + results=cursor.fetchall() + for i in results: + msg(cmdargs," %s - %s - %s" %(i[0],i[1],i[2])) return False def job_check(cmdargs,cursor): |