Commit 46c64ae5 authored by Antoine Catton's avatar Antoine Catton

Rename run of wordpress agent function in main function.

This is for concistency purpose.
parent 1186dc02
...@@ -356,7 +356,7 @@ def get_id(): ...@@ -356,7 +356,7 @@ def get_id():
def run(): def main():
global app global app
parser = argparse.ArgumentParser(description="Wordpress Log Server") parser = argparse.ArgumentParser(description="Wordpress Log Server")
parser.add_argument('-d', '--debug', action='store_const', parser.add_argument('-d', '--debug', action='store_const',
...@@ -371,4 +371,4 @@ def run(): ...@@ -371,4 +371,4 @@ def run():
app.run(host=args.host, port=args.port, debug=args.debug) app.run(host=args.host, port=args.port, debug=args.debug)
if __name__ == '__main__': if __name__ == '__main__':
run() main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment