mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix isfile() typo in setup.py
This commit is contained in:
parent
6743b0c813
commit
283ad6137d
1 changed files with 1 additions and 1 deletions
2
setup.py
2
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue