- added "file://" as prefix to filenames in sent mails, thx to
Achim Bohnet for this suggestion git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@26 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
parent
3f31625fe0
commit
dbfdd8348a
|
@ -2,7 +2,7 @@
|
||||||
# ---------------------------------------------
|
# ---------------------------------------------
|
||||||
# copyright : (C) 2002 by Gernot Hillier
|
# copyright : (C) 2002 by Gernot Hillier
|
||||||
# email : gernot@hillier.de
|
# email : gernot@hillier.de
|
||||||
# version : $Revision: 1.1 $
|
# version : $Revision: 1.2 $
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -88,7 +88,7 @@ def idle(capi):
|
||||||
"Your fax job to "+dialstring+" was sent successfully.\n\n"
|
"Your fax job to "+dialstring+" was sent successfully.\n\n"
|
||||||
+"Filename: "+job_fax+"\nNeeded tries: "+str(tries)
|
+"Filename: "+job_fax+"\nNeeded tries: "+str(tries)
|
||||||
+("\nLast result: 0x%x/0x%x" % (result,resultB3))
|
+("\nLast result: 0x%x/0x%x" % (result,resultB3))
|
||||||
+"\n\nIt was moved to "+done+user+"-"+job_fax)
|
+"\n\nIt was moved to file://"+done+user+"-"+job_fax)
|
||||||
else:
|
else:
|
||||||
max_tries=config.getint('GLOBAL','send_tries')
|
max_tries=config.getint('GLOBAL','send_tries')
|
||||||
delays=config.get('GLOBAL','send_delays').split(",")
|
delays=config.get('GLOBAL','send_delays').split(",")
|
||||||
|
@ -110,7 +110,7 @@ def idle(capi):
|
||||||
"I'm sorry, but your fax job to "+dialstring+" failed finally.\n\n"
|
"I'm sorry, but your fax job to "+dialstring+" failed finally.\n\n"
|
||||||
+"Filename: "+job_fax+"\nTries: "+str(tries)
|
+"Filename: "+job_fax+"\nTries: "+str(tries)
|
||||||
+"\nLast result: 0x%x/0x%x" % (result,resultB3)
|
+"\nLast result: 0x%x/0x%x" % (result,resultB3)
|
||||||
+"\n\nIt was moved to "+failed+user+"-"+job_fax)
|
+"\n\nIt was moved to file://"+failed+user+"-"+job_fax)
|
||||||
|
|
||||||
fcntl.lockf(lockfile,fcntl.LOCK_UN)
|
fcntl.lockf(lockfile,fcntl.LOCK_UN)
|
||||||
lockfile.close()
|
lockfile.close()
|
||||||
|
@ -139,8 +139,12 @@ def movejob(job,olddir,newdir,user):
|
||||||
# History:
|
# History:
|
||||||
#
|
#
|
||||||
# $Log: idle.py,v $
|
# $Log: idle.py,v $
|
||||||
# Revision 1.1 2003/02/19 08:19:54 gernot
|
# Revision 1.2 2003/03/06 09:59:11 gernot
|
||||||
# Initial revision
|
# - added "file://" as prefix to filenames in sent mails, thx to
|
||||||
|
# Achim Bohnet for this suggestion
|
||||||
|
#
|
||||||
|
# Revision 1.1.1.1 2003/02/19 08:19:54 gernot
|
||||||
|
# initial checkin of 0.4
|
||||||
#
|
#
|
||||||
# Revision 1.12 2003/02/18 09:54:22 ghillie
|
# Revision 1.12 2003/02/18 09:54:22 ghillie
|
||||||
# - added missing lockfile deletions, corrected locking protocol
|
# - added missing lockfile deletions, corrected locking protocol
|
||||||
|
|
Loading…
Reference in New Issue