diff --git a/Punch.py b/Punch.py index ef11a5c..057b7bb 100755 --- a/Punch.py +++ b/Punch.py @@ -124,7 +124,7 @@ def parse_config(self): punctuation = [ propDef.find(c) for c in '= ' ] + [ len(propDef) ] found = min( [ pos for pos in punctuation if pos != -1 ] ) name= propDef[:found].rstrip() - value= propDef[found:].lstrip(":= ").rstrip() + value= os.path.expandvars( propDef[found:].lstrip(":= ").rstrip() ) self.propDict[name]= value.strip('"') configFile.close()