1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 19:09:21 +00:00

handle not existing included profile

This commit is contained in:
deadc0de6
2017-09-16 10:11:36 +02:00
parent 1700176c70
commit 538944fb35
2 changed files with 20 additions and 3 deletions

View File

@@ -155,6 +155,9 @@ class Cfg:
if not self.profiles[profile][self.key_profiles_incl]:
return included
for other in self.profiles[profile][self.key_profiles_incl]:
if other not in self.prodots:
self.log.warn('unknown included profile \"%s\"' % (other))
continue
included.extend(self.prodots[other])
return included