Ticket #162: webstatus-public-html-default.patch

File webstatus-public-html-default.patch, 0.5 kB (added by ijon, 5 months ago)

adds back default value of public_html

  • status/web/baseweb.py

    old new  
    413413                distrib_port = "unix:%s" % distrib_port 
    414414        self.distrib_port = distrib_port 
    415415        self.allowForce = allowForce 
    416         self.public_html = public_html 
     416        self.public_html = public_html or 'public_html' 
    417417 
    418418        # this will be replaced once we've been attached to a parent (and 
    419419        # thus have a basedir and can reference BASEDIR)