diff --git a/python/worblehat.py b/python/worblehat.py index 645ac44..010678d 100755 --- a/python/worblehat.py +++ b/python/worblehat.py @@ -13,6 +13,7 @@ import search def show_book_or_person(ids, commit_format=False, tmp_file=False): for id in ids: object = get_book_or_person(id) + # TODO: skriv ut mer informasjon print object def get_book_or_person(id): @@ -79,12 +80,12 @@ def search_person(search_strings, search_description=False): Q(books__book__id__id__icontains=word)) return remove_duplicates(basic_query.all()) -def commit(filename=None): +def commit(filename=None): # TODO pass def edit_book_or_person(ids): filename = show_book_or_person(ids, commit_format=True, tmp_file=True) -# run_editor(filename) +# run_editor(filename) # TODO: må implementeres commit(filename) commands = { 'show':