Skip to content

Commit

Permalink
Ignore assets if none given
Browse files Browse the repository at this point in the history
  • Loading branch information
heynemann committed Nov 7, 2013
1 parent 1516d5e commit d0b7503
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

__version__ = '0.7.0'
__version__ = '0.7.1'
2 changes: 2 additions & 0 deletions cow/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ def plugin_before_end(self, *args, **kw):
def initialize_assets(self):
assets = self.get_assets()
self.application.assets = assets
if not assets:
return

self.application.assets_environment = Environment(
directory=self.static_path,
Expand Down

0 comments on commit d0b7503

Please sign in to comment.