Skip to content

Commit

Permalink
removed specific categories
Browse files Browse the repository at this point in the history
  • Loading branch information
Gingernaut committed Apr 21, 2019
1 parent 582aaa4 commit 6049c96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM phusion/baseimage:0.10.1
FROM phusion/baseimage:latest

CMD ["/sbin/my_init"]

Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def getQueryTerm():
return "&query=" + random.choice(['mountains', 'nature', 'forest', 'jungle', 'beach', 'autumn', 'winter', 'summer', 'spring', 'waterfall', 'rain'])

def getImage():
random_url = 'https://api.unsplash.com/photos/random?featured=true' + getQueryTerm()
random_url = 'https://api.unsplash.com/photos/random?featured=true'

headers = {'Authorization': 'Client-ID ' + credentials['unsplashAccessId']}
img = requests.get(random_url, headers=headers).json()
Expand Down

0 comments on commit 6049c96

Please sign in to comment.