From 283ad6137dacb65511c8d003c75835e73bd83fc3 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 9 Jan 2017 18:02:28 +0000 Subject: [PATCH] Fix isfile() typo in setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c6a464fcd..0e81742ad 100755 --- a/setup.py +++ b/setup.py @@ -126,7 +126,7 @@ class BuildWebUI(cmd.Command): minify_js_dir(source_dir) except NameError: js_file = source_dir + '.js' - if os.path.is_file(js_file): + if os.path.isfile(js_file): print('Unable to minify but found existing minified: {}'.format(js_file)) else: # Unable to minify and no existing minified file found so exiting.