error when character "=" in filename
Status: Beta
Brought to you by:
bowmanmc
When a filename contains the equals-sign "=", bgconfig
and bgchanger show the following error:
File "/usr/local/bin/bgconfig", line 247, in ?
configurator = BgConfigurator()
File "/usr/local/bin/bgconfig", line 87, in __init__
self.config = BgConfig()
File "/usr/share/bgchanger/lib/bgconfig.py", line 28,
in __init__
(key, value) = line.split("=", 2)
ValueError: too many values to unpack
For example, the file:
/data/wallpapers/A=B.jpg
would create this line in the conf-file:
pic=/data/wallpapers/A=B.jpg
Jens