From cd431c3f058ddc74979faff99f2c16b6ef6aaa0c Mon Sep 17 00:00:00 2001 From: Dan Tenenbaum Date: Fri, 3 May 2019 11:27:45 -0700 Subject: [PATCH] change shebang line, add () to print stmt for py3 compatibility --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index a229d9e..aa49c5d 100755 --- a/app.py +++ b/app.py @@ -1,4 +1,4 @@ -#!flask/bin/python +#!/usr/bin/env python # Author: Ngo Duy Khanh # Email: ngokhanhit@gmail.com @@ -61,7 +61,7 @@ def create_thumbnail(image): return True except: - print traceback.format_exc() + print(traceback.format_exc()) return False