Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa0128 committed Aug 4, 2023
1 parent 1b6db6a commit c53c905
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ python -m webmeter --host={ip} --port={port}

```bash
cd webmeter
python main.py
python __main__.py
```
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
install_requires=['fastapi','uvicorn', 'requests', 'logzero', 'fire','pyfiglet','psutil'],
version='1.0.3',
version='1.0.4',
long_description=long_description,
long_description_content_type="text/markdown",
description="WebMeter - A web api-performance tool based on jmeter.",
Expand Down
2 changes: 1 addition & 1 deletion webmeter/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def status(host: str, port: int):
return flag

def start(host: str, port: int):
uvicorn.run("__main__:app", host=host, port=port, reload=False)
uvicorn.run("web:app", host=host, port=port, reload=False)

def open(host: str, port: int):
flag = True
Expand Down

0 comments on commit c53c905

Please sign in to comment.