mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Change Modumind user agent to Modufur
This commit is contained in:
parent
27c1346448
commit
76d0d34848
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue