mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 19:09:44 +00:00
is None vs []
This commit is contained in:
@@ -101,7 +101,7 @@ class Cfg:
|
||||
self.content[self.key_profiles] = {}
|
||||
self.profiles = self.content[self.key_profiles]
|
||||
for k, v in self.profiles.items():
|
||||
if not v[self.key_profiles_dots]:
|
||||
if v[self.key_profiles_dots] is None:
|
||||
v[self.key_profiles_dots] = []
|
||||
|
||||
# parse the configs
|
||||
|
||||
Reference in New Issue
Block a user