
Hi everyone,
here my simple test code :
and this message is not even triggered by the except :/
Any ideas ?
here my simple test code :
def download(): try: return send_from_directory('C:\\original.jpg', filename='original.jpg', as_attachment=True) except FileNotFoundError: abort(404)No matter what I try I get in the Internet browser
Quote:Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
and this message is not even triggered by the except :/
Any ideas ?