1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-23 22:27:27 +00:00

Change Modumind user agent to Modufur

This commit is contained in:
Myned 2018-01-14 01:24:42 -05:00
parent 27c1346448
commit 76d0d34848

View file

@ -93,7 +93,7 @@ last_commands = {}
async def fetch(url, *, params={}, json=False, response=False): async def fetch(url, *, params={}, json=False, response=False):
async with session.get(url, params=params, headers={'User-Agent': 'Myned/Modumind'}) as r: async with session.get(url, params=params, headers={'User-Agent': 'Myned/Modufur'}) as r:
if response: if response:
return r return r
elif json: elif json: