cortex icon indicating copy to clipboard operation
cortex copied to clipboard

browser-background variable not terminated by newline

Open SebNickel opened this issue 10 years ago • 0 comments

If I put the line

browser-background=0

anywhere but on the very last line of ~/.cortex/config, I get this error when trying to start cortex:

Traceback (most recent call last):
  File "/usr/bin/cortex", line 189, in <module>
    BackgroundBrowser = bool(int(Config[opt]))
ValueError: invalid literal for int() with base 10: '0\n\n[color]'

In this case, the browser-background line was followed by a newline, a comment, another newline and then the line '[color]', the remainder of the file being commented out.

SebNickel avatar Jan 22 '16 14:01 SebNickel