X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/blobdiff_plain/01a3d0e1eb3cdb48ecc8e474c533583d800b04d7:/pagegen.py..15295989de79bff3b15c8a0a057a4ac3c4e93440:/bin/pagegen.py diff --git a/pagegen.py b/bin/pagegen.py similarity index 96% rename from pagegen.py rename to bin/pagegen.py index 7f0a68a..5ec6a2f 100644 --- a/pagegen.py +++ b/bin/pagegen.py @@ -46,7 +46,7 @@ def producehtml(name, debug): """ % (ui["doctype"], csshtml, customjs, jshtml, ui["class"], div) -def main(outputdir=os.path.abspath(os.path.split(sys.argv[0])[0])): +def main(outputdir="."): p = os.path.join(outputdir, "static") for x in pages.UIs: f = open(os.path.join(p, "%sdebug.html" % x), "wb")