mirror of https://gitlab.com/bashrc2/epicyon
Warning
parent
53fc839cae
commit
be91c3b79c
4
inbox.py
4
inbox.py
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue