Compare commits
No commits in common. "0f7ef3e3f62e4cde2333d7483423b982dbf31fee" and "4b8d8adc848060272087513a9e71939595cc9e83" have entirely different histories.
0f7ef3e3f6
...
4b8d8adc84
2 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@
|
|||
"password": "hunter2"
|
||||
},
|
||||
"imag":{
|
||||
"_comment": "Don't put a slash at an end of this. That took quite a bit of running around in circles to fix.",
|
||||
"server": "https://quotes.example.com"
|
||||
}
|
||||
}
|
||||
|
|
2
fetch.py
2
fetch.py
|
@ -5,7 +5,7 @@ with open('config.json', 'r') as f:
|
|||
config = json.load(f)
|
||||
|
||||
def fetchQuote(quoteId):
|
||||
processedId = str(config['imag']['server'] + "/image/" + quoteId)
|
||||
processedId = str(config['imag']['server'] + quoteId)
|
||||
# quote = requests.get(processedId)
|
||||
#temporary
|
||||
code = 200
|
||||
|
|
Loading…
Add table
Reference in a new issue