Commit 7639382e authored by Panu Matilainen's avatar Panu Matilainen

Shut up a future warning from python 3 on string boolean test

parent 2be55071
......@@ -290,7 +290,7 @@ class myHandler(http.server.SimpleHTTPRequestHandler):
z = E.A(E.CLASS('menutxt'), '%s' % (codename(r)),
href=self.do_href('elemid=%s' % (r['ID'])))
if path:
if len(path) > 0:
path.insert(0, E.A(' > '))
path.insert(0, z)
eid = r['PARENT_ID']
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment