Merge pull request #20 from tildetown/master
leave behind editable global files
This commit is contained in:
		
						commit
						05f1e66c94
					
				| @ -259,6 +259,7 @@ def write_global_feed(blogList): | |||||||
| """) | """) | ||||||
| 
 | 
 | ||||||
|     outfile.close() |     outfile.close() | ||||||
|  |     subprocess.call(['chmod', 'a+w', FEED]) | ||||||
| 
 | 
 | ||||||
| ## misc helpers | ## misc helpers | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -269,6 +269,8 @@ press <enter> to begin, or <ctrl-c> to get out of here. | |||||||
|     users.write(config.USER+"\n") |     users.write(config.USER+"\n") | ||||||
|     users.close() |     users.close() | ||||||
| 
 | 
 | ||||||
|  |     subprocess.call(['chmod', 'a+w', config.USERFILE]) | ||||||
|  | 
 | ||||||
|     ## make .ttbp directory structure |     ## make .ttbp directory structure | ||||||
|     subprocess.call(["mkdir", config.PATH]) |     subprocess.call(["mkdir", config.PATH]) | ||||||
|     subprocess.call(["mkdir", config.USER_CONFIG]) |     subprocess.call(["mkdir", config.USER_CONFIG]) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user