summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-09-01 07:00:02 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-09-01 07:00:02 +0800
commite111669b1c013f87139a056f335cce4c0538a366 (patch)
tree00810ff41b0ab60d3b5919bd1f07c91a5153092f /index.py
parent50769543a29838f09276f65672f6fded189b6fd2 (diff)
fixed return None
Diffstat (limited to 'index.py')
-rw-r--r--index.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/index.py b/index.py
index 4b8f5eb..45ae944 100644
--- a/index.py
+++ b/index.py
@@ -5,7 +5,4 @@ app = Flask(__name__)
@app.route("/")
def main():
- try:
- return rcommand()
- except TypeError:
- return rcommand()
+ return rcommand()