diff options
author | 2018-10-11 14:18:13 -0700 | |
---|---|---|
committer | 2018-10-11 14:18:13 -0700 | |
commit | 8b2fa26a065b18cb9c4aa441eb1b6e360594a462 (patch) | |
tree | 9a949b5b5e4389d896ecb87c8b94e255d5553cda /bot/cogs/hacktoberstats.py | |
parent | Initial commit. (diff) | |
parent | Remove extra params to pepper (diff) |
Merge branch 'deploy' of https://github.com/dfitzpatrick/hacktoberbot into 31-vote-for-favorite-monster
# Conflicts:
# Pipfile
Diffstat (limited to 'bot/cogs/hacktoberstats.py')
-rw-r--r-- | bot/cogs/hacktoberstats.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/cogs/hacktoberstats.py b/bot/cogs/hacktoberstats.py index 4e896ae9..0a280443 100644 --- a/bot/cogs/hacktoberstats.py +++ b/bot/cogs/hacktoberstats.py @@ -95,7 +95,9 @@ class Stats: is_query = f"public+author:{username}" date_range = "2018-10-01..2018-10-31" per_page = "300" - query_url = f"{base_url}-label:{not_label}+type:{action_type}+is:{is_query}+created:{date_range}&per_page={per_page}" + query_url = ( + f"{base_url}-label:{not_label}+type:{action_type}+is:{is_query}+created:{date_range}&per_page={per_page}" + ) headers = {"user-agent": "Discord Python Hactoberbot"} async with aiohttp.ClientSession() as session: |