Skip to content

Commit

Permalink
Allow -ns instances to run w/o sprite files. (#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienvercammen committed Jan 27, 2017
1 parent 056e3e5 commit d048dac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions runserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ def main():
'"npm install && npm run build" before starting the server.')
sys.exit()

# You need custom image files now.
if not os.path.isfile(
os.path.join(os.path.dirname(__file__),
'static/icons-sprite.png')):
log.critical('Missing sprite files.')
sys.exit()
# You need custom image files now.
if not os.path.isfile(
os.path.join(os.path.dirname(__file__),
'static/icons-sprite.png')):
log.critical('Missing sprite files.')
sys.exit()

# These are very noisy, let's shush them up a bit.
logging.getLogger('peewee').setLevel(logging.INFO)
Expand Down

0 comments on commit d048dac

Please sign in to comment.