ubuntu bad v2

This commit is contained in:
Xevion
2019-06-30 05:44:43 -05:00
parent 61315118e5
commit 4e957e689d

View File

@@ -93,7 +93,7 @@ def boolparse(string, default=False):
@login_required @login_required
def hidden_help(id): def hidden_help(id):
if id != app.config['HIDDEN_URL']: if id != app.config['HIDDEN_URL']:
return '{}<br>{}<br>{}'.format(app.config['HIDDEN_URL'], str(type(app.config['HIDDEN_URL'])), str(id)) return '{}<br>{}<br>{}'.format(app.config['HIDDEN_URL'], str(type(app.config['HIDDEN_URL'])), str(type(id)))
else: else:
return render_template('hidden_help.html') return render_template('hidden_help.html')
@@ -101,7 +101,7 @@ def hidden_help(id):
@login_required @login_required
def hidden(id): def hidden(id):
if id != app.config['HIDDEN_URL']: if id != app.config['HIDDEN_URL']:
return 'bad id' return '{}<br>{}<br>{}'.format(app.config['HIDDEN_URL'], str(type(app.config['HIDDEN_URL'])), str(type(id)))
# Handled within request # Handled within request
tags = request.args.get('tags') or 'trap' tags = request.args.get('tags') or 'trap'
try: try: