regexp is always true, check if it matches

This commit is contained in:
j 2011-10-30 23:43:41 +01:00
commit 6dc151cb50
3 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ def update_static():
oxjs_build = os.path.join(settings.STATIC_ROOT, 'oxjs/tools/build/build.py')
if os.path.exists(oxjs_build):
print 'update oxjs'
os.system('%s >/dev/null' % oxjs_build)
os.system('%s -nogeo >/dev/null' % oxjs_build)
data = ''
js = []