main2
Bob Mottram 2019-10-20 13:50:31 +01:00
parent 53fc839cae
commit be91c3b79c
1 changed files with 2 additions and 2 deletions

View File

@ -1523,7 +1523,7 @@ def inboxUpdateIndex(baseDir: str,handle: str,destinationFilename: str,debug: bo
indexFile.write(destinationFilename+'\n'+content) indexFile.write(destinationFilename+'\n'+content)
return True return True
except Exception as e: except Exception as e:
print('Failed to write entry to index '+str(e)) print('WARN: Failed to write entry to index '+str(e))
else: else:
try: try:
indexFile=open(indexFilename,'w+') indexFile=open(indexFilename,'w+')
@ -1531,7 +1531,7 @@ def inboxUpdateIndex(baseDir: str,handle: str,destinationFilename: str,debug: bo
indexFile.write(destinationFilename+'\n') indexFile.write(destinationFilename+'\n')
indexFile.close() indexFile.close()
except Exception as e: except Exception as e:
print('Failed to write initial entry to index '+str(e)) print('WARN: Failed to write initial entry to index '+str(e))
return False return False