Endret 'show'-kommandoen til å kalle to_string.
This commit is contained in:
parent
223864c2ae
commit
f5a7339b83
@ -14,7 +14,7 @@ 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
|
||||
print object.to_string()
|
||||
|
||||
def get_book_or_person(id):
|
||||
if id.isdigit():
|
||||
|
Reference in New Issue
Block a user