Skip to content

Commit

Permalink
removes notes from list of records
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleTobias committed Nov 15, 2018
1 parent d486f09 commit 1497db7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions literature_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ def data_get(userID, collectionID, apiKey):
self.multipointLayer.updateFields() # tell the vector layer to fetch changes from the provider

for i, record in enumerate(data_json):
if record['data']['itemType'] == 'note': continue
key = QTableWidgetItem(record['data']['key'])
self.dlgTable.tableWidget_Zotero.setItem(i, 0, key)
key_str = record['data']['key']
Expand Down

0 comments on commit 1497db7

Please sign in to comment.