Style des logs
darcs-hash:20070623202322-f46e9-18450cd8476b03e92315b7c6280c834318c3bb9e.gz
This commit is contained in:
parent
72d767e47f
commit
f715771369
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ def cleanFolder(pathToFolder):
|
|||
cleanFolder(aFilePath)
|
||||
if tools.dirIsEmpty(aFilePath):
|
||||
os.rmdir(aFilePath)
|
||||
print "Folder %s removed" % aFilePath
|
||||
if os.path.isfile(aFilePath):
|
||||
if tools.fileIsOlderThan(aFilePath, days=1):
|
||||
os.remove(aFilePath)
|
||||
|
@ -22,6 +23,6 @@ now = time.localtime()
|
|||
displaytime = time.strftime("%A %d %B %Y, %X",now)
|
||||
print "................ %s ................" % displaytime
|
||||
cleanFolder(PDF_FOLDER)
|
||||
print "*** Cleaning codes"
|
||||
print "Cleaning codes"
|
||||
crans.impression.digicode.menage()
|
||||
print
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue