forked from endorphant/ttbp
		
	do not let permissions on one ttbprc kill process
This commit is contained in:
		
							parent
							
								
									a8f956110a
								
							
						
					
					
						commit
						925b56bd20
					
				| @ -373,7 +373,10 @@ def publishing(username=config.USER): | |||||||
|         ttbprc = SETTINGS |         ttbprc = SETTINGS | ||||||
| 
 | 
 | ||||||
|     else: |     else: | ||||||
|  |         try: | ||||||
|             ttbprc = json.load(open(os.path.join("/home", username, ".ttbp", "config", "ttbprc"))) |             ttbprc = json.load(open(os.path.join("/home", username, ".ttbp", "config", "ttbprc"))) | ||||||
|  |         except IOError: | ||||||
|  |             return False | ||||||
| 
 | 
 | ||||||
|     return ttbprc.get("publishing") |     return ttbprc.get("publishing") | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user