whoops
This commit is contained in:
		
							parent
							
								
									4cf5a6393a
								
							
						
					
					
						commit
						05c3fcc825
					
				| @ -203,7 +203,7 @@ def main(): | |||||||
|     if getpass.getuser() not in ('root', sks['user']): |     if getpass.getuser() not in ('root', sks['user']): | ||||||
|         exit('ERROR: You must be root or {0}!'.format(sks['user'])) |         exit('ERROR: You must be root or {0}!'.format(sks['user'])) | ||||||
|     with open(sks['logfile'], 'a') as f: |     with open(sks['logfile'], 'a') as f: | ||||||
|         f.write('===== {0} STARTING ====='.format(str(datetime.datetime.utcnow()))) |         f.write('===== {0} STARTING =====\n'.format(str(datetime.datetime.utcnow()))) | ||||||
|     if not args['nodump']: |     if not args['nodump']: | ||||||
|         dumpDB() |         dumpDB() | ||||||
|     if not args['nocompress']: |     if not args['nocompress']: | ||||||
| @ -211,7 +211,7 @@ def main(): | |||||||
|     if not args['nosync']: |     if not args['nosync']: | ||||||
|         syncDB() |         syncDB() | ||||||
|     with open(sks['logfile'], 'a') as f: |     with open(sks['logfile'], 'a') as f: | ||||||
|         f.write('===== {0} DONE ====='.format(str(datetime.datetime.utcnow()))) |         f.write('===== {0} DONE =====\n'.format(str(datetime.datetime.utcnow()))) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| if __name__ == '__main__': | if __name__ == '__main__': | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 brent s
						brent s