Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipus85 committed Feb 9, 2021
2 parents e7640b9 + 9ffb4fb commit 813a34c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions App/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ def newCatalog():
"""
catalog = {'books': None,
'authors': None,
'tags': None}
catalog['books'] = lt.newList('SINGLE_LINKED')
catalog['authors'] = lt.newList('SINGLE_LINKED',
'tags': None,
'book_tags': None}

catalog['books'] = lt.newList()
catalog['authors'] = lt.newList('ARRAY_LIST',
cmpfunction=compareauthors)
catalog['tags'] = lt.newList('ARRAY_LIST',
cmpfunction=comparetagnames)
Expand Down

0 comments on commit 813a34c

Please sign in to comment.