diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2005-11-04 19:30:38 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2005-11-04 19:30:38 +0300 |
commit | a5aacefbfcd80d2e232809b6d5aed26fcf821597 (patch) | |
tree | 7047475e579c9ce64fef3c4054cd01a8c9d8f5e0 /release/scripts/bpymodules | |
parent | 4b598feab206f999a299992e0bc08c8329a6168e (diff) |
Scripts: Jean-Michel updated his rvk1 to rvk2 script (thanks); small fix in BPyRegistry module to remove empty config keys instead of causing an error
Diffstat (limited to 'release/scripts/bpymodules')
-rw-r--r-- | release/scripts/bpymodules/BPyRegistry.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/bpymodules/BPyRegistry.py b/release/scripts/bpymodules/BPyRegistry.py index de73cb19a8c..37c74dddbc1 100644 --- a/release/scripts/bpymodules/BPyRegistry.py +++ b/release/scripts/bpymodules/BPyRegistry.py @@ -242,7 +242,7 @@ def SaveConfigData (key = None): for mainkey in keys: cfgdict = Registry.GetKey(mainkey).copy() for k in cfgdict.keys(): - if k[0] == '_': cfgdict.pop(k) + if not k or k[0] == '_': cfgdict.pop(k) if not cfgdict: continue |