diff --git a/index.html b/index.html index bdb474f..dc55ebe 100644 --- a/index.html +++ b/index.html @@ -1,29 +1,29 @@ - - One cat per day! - - - - - - -
- -
-
- - A picture of a cat -
- - - \ No newline at end of file + + One cat per day! + + + + + + +
+ +
+
+ + A picture of a cat +
+ + + \ No newline at end of file diff --git a/main.py b/main.py index ca81ce2..8103235 100644 --- a/main.py +++ b/main.py @@ -19,8 +19,7 @@ def get_image_url(): # api key gets you access to more cats however, which is purrfect for our needs api_key = "" with open(".secrets", "r") as f: - api_key = f.readlines() - api_key = api_key[0].strip("\n") + api_key = f.readline() # I ask for 10 cats because I don't want an animated gif to use as the cat image of the day # I'm specifically looking for a jpg, and may look for specific image dimeensions as well in the future