Skip to content

Commit

Permalink
setup fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
krupin.dv committed Oct 12, 2014
1 parent 8e551d9 commit 1adcc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_js_reverse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ def save_js_file():
file = fs.save(file, ContentFile(content))


if sys.argv[1] in ['collectstatic']: # , 'runserver'
if len(sys.argv) > 1 and sys.argv[1] in ['collectstatic']: # , 'runserver'
save_js_file()

0 comments on commit 1adcc87

Please sign in to comment.