bites you in the ass. every time.
This commit is contained in:
@@ -25,7 +25,7 @@ class RAConf(object):
|
||||
for k in ('name', 'dir'):
|
||||
n = 'tpl_{0}'.format(k)
|
||||
d = 'def_tpl_{0}'.format(k)
|
||||
v = locals()[k]
|
||||
v = locals()[n]
|
||||
if not v:
|
||||
setattr(self, n, getattr(self, d))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user