Skip to content

Commit

Permalink
Python code is blacked
Browse files Browse the repository at this point in the history
  • Loading branch information
theyosh authored and github-actions[bot] committed May 10, 2024
1 parent 54b675f commit 885fba5
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions terrariumWebserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,16 +229,10 @@ def unsplash_background(self):
if background_image.ok:
background_image = background_image.json()
data = {
'description' : background_image['description'] or background_image['alt_description'],
'links' : {
'html' : background_image['links']['html']
},
'urls' : {
'full' : background_image['urls']['full'] + '&w=1920'
},
'user' : {
'name' : background_image['user']['name']
},
"description": background_image["description"] or background_image["alt_description"],
"links": {"html": background_image["links"]["html"]},
"urls": {"full": background_image["urls"]["full"] + "&w=1920"},
"user": {"name": background_image["user"]["name"]},
}

return data
Expand Down

0 comments on commit 885fba5

Please sign in to comment.