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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user