X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/blobdiff_plain/d47f88d95d36f5ab10d0e0b43b30b85a2f99426f..31cf69da711d788e330a44d20e29ce901615d13c:/bin/pagegen.py diff --git a/bin/pagegen.py b/bin/pagegen.py index 6dc2060..a4b9f5d 100755 --- a/bin/pagegen.py +++ b/bin/pagegen.py @@ -27,7 +27,7 @@ def csslist(name, debug, gen=False): def _gethgid(): try: - p = subprocess.Popen(["hg", "id"], stdout=subprocess.PIPE) + p = subprocess.Popen(["hg", "id"], stdout=subprocess.PIPE, shell=os.name == "nt") except Exception, e: if hasattr(e, "errno") and e.errno == 2: raise HGException, "unable to execute" @@ -68,6 +68,7 @@ def producehtml(name, debug): %s (qwebirc) + %s%s %s