Use prefix "0o" for octal number
This commit is contained in:
		
							parent
							
								
									15380bcecd
								
							
						
					
					
						commit
						35125a392d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -112,7 +112,7 @@ def read(): | |||
| def write(config): | ||||
|     """Write config file.""" | ||||
|     if not os.path.exists(CONFIG_DIR): | ||||
|         os.mkdir(CONFIG_DIR, 0755) | ||||
|         os.mkdir(CONFIG_DIR, 0o0755) | ||||
|     with open(CONFIG_FILENAME, 'wb') as cfg: | ||||
|         config.write(cfg) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sebastien Helleu
						Sebastien Helleu