mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-10-29 22:32:55 +00:00 
			
		
		
		
	Add AVATAO_SECRET to envvars
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| from os import environ | ||||
| from os import environ, getenv | ||||
| from collections import namedtuple | ||||
|  | ||||
| TFW_PREFIX = 'TFW_' | ||||
| @@ -6,3 +6,5 @@ tfwenvvars = {envvar.replace(TFW_PREFIX, '', 1): environ.get(envvar) | ||||
|               for envvar in environ.keys() | ||||
|               if envvar.startswith(TFW_PREFIX)} | ||||
| tfwenv = namedtuple('tfwenvtuple', tfwenvvars)(**tfwenvvars) | ||||
|  | ||||
| AVATAO_SECRET = getenv('AVATAO_SECRET', 'secret') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user