Skip to content

Commit

Permalink
I think the version update breaks this script
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Sep 9, 2016
1 parent a6a3471 commit 76b0433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -1135,7 +1135,7 @@ def _set_global_context_from_config(self):

def _set_global_context_from_data(self):
"""Load files from data/ and put them in the global context."""
self._GLOBAL_CONTEXT['data'] = defaultdict(defaultdict)
self._GLOBAL_CONTEXT['data'] = {}
for root, dirs, files in os.walk('data', followlinks=True):
for fname in files:
fname = os.path.join(root, fname)
Expand Down
2 changes: 1 addition & 1 deletion snapcraft/nikola.py
Expand Up @@ -6,5 +6,5 @@

if __name__ == '__main__':
sys.exit(
load_entry_point('Nikola==7.8.0')()
load_entry_point('Nikola', 'console_scripts', 'nikola')()
)

0 comments on commit 76b0433

Please sign in to comment.