X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=run.py;h=ef6aeab6b7fd56a93ed3c9e76a7b5bbfe532b68c;hb=9c3ba57169fdc71d3ffefd4c7c20cae4e89f9c9c;hp=e0cdd8b8150dfbc0d8d54447a308ef79f6795037;hpb=357e434444f45ddb3df506b18c5d12fbab2b9153;p=plomtask diff --git a/run.py b/run.py index e0cdd8b..ef6aeab 100755 --- a/run.py +++ b/run.py @@ -25,7 +25,7 @@ if __name__ == '__main__': else: print('Not recognizing reply as "yes".') raise HandledException('Cannot run without database.') - server = TaskServer(TEMPLATES_DIR, + server = TaskServer(TEMPLATES_DIR, db_file, ('localhost', HTTP_PORT), TaskHandler) print(f'running at port {HTTP_PORT}') try: