linux - edit path for default errors, ignore comments in variables.env, install/prepare certbot
This commit is contained in:
@@ -3,6 +3,8 @@ def load_variables(path) :
|
||||
with open(path) as f :
|
||||
lines = f.read().splitlines()
|
||||
for line in lines :
|
||||
if line.startswith("#") :
|
||||
continue
|
||||
var = line.split("=")[0]
|
||||
value = line[len(var)+1:]
|
||||
variables[var] = value
|
||||
|
||||
Reference in New Issue
Block a user