Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
pafonta committed Aug 21, 2018
1 parent 3c30c85 commit 5961509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nat/zotero_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ def initialize(self):

def load_cache(self):
"""Load the cached Zotero data."""
print("Loading cached Zotero data...")
with open(self.cache_path, "rb") as f:
print("Loading cached Zotero data...")
cache = pickle.load(f)
self._references = cache[self.CACHE_REFERENCE_LIST]
self.reference_types = cache[self.CACHE_REFERENCE_TYPES]
self.reference_templates = cache[self.CACHE_REFERENCE_TEMPLATES]
print("Cached Zotero data loaded.")
print("Cached Zotero data loaded.")

def load_distant(self):
"""Load the distant Zotero data."""
Expand Down

0 comments on commit 5961509

Please sign in to comment.