diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-09-01 07:00:02 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-09-01 07:00:02 +0800 |
| commit | e111669b1c013f87139a056f335cce4c0538a366 (patch) | |
| tree | 00810ff41b0ab60d3b5919bd1f07c91a5153092f | |
| parent | 50769543a29838f09276f65672f6fded189b6fd2 (diff) | |
fixed return None
| -rw-r--r-- | index.py | 5 | ||||
| -rw-r--r-- | main.py | 1 |
2 files changed, 2 insertions, 4 deletions
@@ -5,7 +5,4 @@ app = Flask(__name__) @app.route("/") def main(): - try: - return rcommand() - except TypeError: - return rcommand() + return rcommand() @@ -45,6 +45,7 @@ def main(): pass else: sleep(1) + main() else: return f'Error: {response.status_code}' # response.text |
