X-Git-Url: http://dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=python3%2Fashd-wsgi3;h=de6c20eb01842713c4b0a011d8e2b4fd04514487;hp=2a8815b380f1a009443601e1cea823028969264d;hb=19ff507ba9b2490484191f22b69ba3ea250fc9e8;hpb=b0a7be65031e2b3a91bc26c69eea6e75900cb961 diff --git a/python3/ashd-wsgi3 b/python3/ashd-wsgi3 index 2a8815b..de6c20e 100755 --- a/python3/ashd-wsgi3 +++ b/python3/ashd-wsgi3 @@ -1,7 +1,7 @@ #!/usr/bin/python3 -import sys, os, getopt, threading, socket, logging, time, locale, collections -import ashd.proto, ashd.util, ashd.perf, ashd.serve +import sys, os, getopt, socket, logging, time, locale, collections +import ashd.util, ashd.serve try: import pdm.srv except: @@ -25,7 +25,7 @@ for o, a in opts: elif o == "-A": modwsgi_compat = True elif o == "-l": - hspec = "free", {"max": int(a), "abort": 10} + hspec = "free", {"max": a, "abort": "10"} elif o == "-t": hspec = ashd.serve.parsehspec(a) elif o == "-m":