forked from rDrama/rDrama
1
0
Fork 0

make a line of code a little neater (thanks @everyone)

master
Aevann1 2022-07-23 09:22:55 +02:00
parent ddeba62aeb
commit 24c44132d8
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ def before_request():
g.webview = '; wv) ' in ua
g.inferior_browser = 'iphone' in ua or 'ipad' in ua or 'ipod' in ua or 'mac os' in ua or ' firefox/' in ua
if request.path.endswith('/'): request.path = request.path[:-1]
request.path = request.path.rstrip("/")
@app.after_request
def after_request(response):