Add reminder of what __file__.parent.parent evaluates to.
This commit is contained in:
		
							parent
							
								
									f0d302d4a5
								
							
						
					
					
						commit
						1f18713875
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -19,6 +19,8 @@ from . import sessions | ||||||
| 
 | 
 | ||||||
| # Flask init ####################################################################################### | # Flask init ####################################################################################### | ||||||
| 
 | 
 | ||||||
|  | # __file__ = .../etiquette_flask/backend/common.py | ||||||
|  | # root_dir = .../etiquette_flask | ||||||
| root_dir = pathclass.Path(__file__).parent.parent | root_dir = pathclass.Path(__file__).parent.parent | ||||||
| 
 | 
 | ||||||
| TEMPLATE_DIR = root_dir.with_child('templates') | TEMPLATE_DIR = root_dir.with_child('templates') | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue