options = zlib.decompress(options)\r
(profileOpts, alt) = options.split('\f', 1)\r
for option in profileOpts.split('\b'):\r
- (key, value) = option.split('=', 1)\r
- globalProfileParser.set('profile', key, value)\r
+ if len(option) > 0:\r
+ (key, value) = option.split('=', 1)\r
+ globalProfileParser.set('profile', key, value)\r
for option in alt.split('\b'):\r
- (key, value) = option.split('=', 1)\r
- globalProfileParser.set('alterations', key, value)\r
+ if len(option) > 0:\r
+ (key, value) = option.split('=', 1)\r
+ globalProfileParser.set('alterations', key, value)\r
\r
def getGlobalProfileString():\r
global globalProfileParser\r