Add delete file on successful submit
This commit is contained in:
		
							parent
							
								
									ee5981e53a
								
							
						
					
					
						commit
						4eb19ff1b7
					
				@ -63,6 +63,7 @@ def main():
 | 
			
		||||
        if int.from_bytes(r, byteorder='big'):
 | 
			
		||||
            sys.stderr.write('error {}'.format(r))
 | 
			
		||||
            sys.exit(1)
 | 
			
		||||
        os.unlink(fpath)
 | 
			
		||||
        logg.debug('submitted {} {} status {}'.format(fpath, tx, r))
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user