From 0b17f41f06f7a7874a0160fa8e27be73ef26f169 Mon Sep 17 00:00:00 2001 From: kuaima Date: Fri, 11 Dec 2020 12:05:22 +0800 Subject: [PATCH] refine to support python 3 refine to support python 3 --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 7f83a82..2a675ac 100755 --- a/app.py +++ b/app.py @@ -160,7 +160,7 @@ def delete(path): os.rmdir(fullpath) return flask.make_response('', 204) else: - print os.listdir(fullpath) + print(os.listdir(fullpath)) return flask.make_response('/%s: Directory is not empty.' % path, 403) else: os.remove(fullpath)