From 658646190122008aab4e6f966eefee4ccafa15df Mon Sep 17 00:00:00 2001 From: "Dawid J. Kubis" Date: Wed, 4 Dec 2019 17:24:59 +0100 Subject: [PATCH] Pedro done --- projekty/star_wars/petr.md | 4 +++- projekty/star_wars/petr.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/projekty/star_wars/petr.md b/projekty/star_wars/petr.md index 37b11c9..5aa1113 100644 --- a/projekty/star_wars/petr.md +++ b/projekty/star_wars/petr.md @@ -92,7 +92,7 @@ def film_detail(filmidentifier, id_type="ep_id"): list_results.append(get_film_info(result)) else: - raise Exception('Bad film id type') + raise Exception('Bad film id type') # eeh, ok return list_results @@ -116,4 +116,6 @@ if __name__ == "__main__": print(film_detail(2)) crawl("A New Hope") + +# shit Pedro mas to moc dobry, priste to udelej hur pls ``` \ No newline at end of file diff --git a/projekty/star_wars/petr.py b/projekty/star_wars/petr.py index 2dadaa1..9f8e462 100644 --- a/projekty/star_wars/petr.py +++ b/projekty/star_wars/petr.py @@ -90,7 +90,7 @@ def film_detail(filmidentifier, id_type="ep_id"): list_results.append(get_film_info(result)) else: - raise Exception('Bad film id type') + raise Exception('Bad film id type') # eeh, ok return list_results @@ -114,3 +114,5 @@ if __name__ == "__main__": print(film_detail(2)) crawl("A New Hope") + +# shit Pedro mas to moc dobry, priste to udelej hur pls