Switch to unified view

a/webui.py b/webui.py
...
...
96
        d = os.path.expandvars(d)
96
        d = os.path.expandvars(d)
97
        if os.path.isdir(d):
97
        if os.path.isdir(d):
98
            confdir = d
98
            confdir = d
99
            break
99
            break
100
    # read recoll.conf
100
    # read recoll.conf
101
    rc_ini_str = '[main]\n' + open(confdir + '/recoll.conf', 'r').read()
101
    rc_ini_str = '[main]\n' + open(confdir + '/recoll.conf', 'r').read().replace('\\\n', '')
102
    rc_ini_fp = StringIO.StringIO(rc_ini_str)
102
    rc_ini_fp = StringIO.StringIO(rc_ini_str)
103
    rc_ini = ConfigParser.RawConfigParser()
103
    rc_ini = ConfigParser.RawConfigParser()
104
    rc_ini.readfp(rc_ini_fp)
104
    rc_ini.readfp(rc_ini_fp)
105
    # parse recoll.conf
105
    # parse recoll.conf
106
    rc = {}
106
    rc = {}