cortex
cortex copied to clipboard
browser-background variable not terminated by newline
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.