diff --git a/scripts/boxesserver b/scripts/boxesserver index 5e1e7e1..0f172df 100755 --- a/scripts/boxesserver +++ b/scripts/boxesserver @@ -25,10 +25,6 @@ import codecs import mimetypes import re -csspath = os.path.join(os.path.dirname(__file__), 'self.css') -css = codecs.open(csspath, "r", "utf-8").read() - - # Python 2 vs Python 3 compat try: from urllib.parse import unquote_plus @@ -151,11 +147,8 @@ class BServer: def args2html(self, name, box, action=""): result = ["""Boxes - """, name, """ - """, self.scripts % (len(box.argparser._action_groups)-3), """ + +""", self.scripts % (len(box.argparser._action_groups)-3), """ @@ -226,11 +219,7 @@ class BServer: result = [""" Boxes.py - +