Skip to content

Commit

Permalink
Punt
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed Aug 21, 2013
1 parent 8708a31 commit a1d125c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions rpi/asthma_files_site/browser/zotero_view.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
from pyzotero import zotero
#from pyzotero import zotero

from zope.publisher.browser import BrowserPage

import os
Expand All @@ -15,11 +16,11 @@ class ZoteroView(BrowserPage):
Browser page
"""
zotero_view = ViewPageTemplateFile('zotero_view.pt')
zotero_library = zotero.Zotero(library_id, library_type, api_key)
# zotero_library = zotero.Zotero(library_id, library_type, api_key)

def __call__(self):
return self.zotero_view()


def get_tags(self):
return self.zotero_library.tags()
# def get_tags(self):
# return self.zotero_library.tags()

0 comments on commit a1d125c

Please sign in to comment.