Skip to content

Commit

Permalink
Add missing type annotation from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrasband committed Jun 23, 2019
1 parent e962fc7 commit 3bc1dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyslackersweb/website/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json
import logging
from collections import Counter
from typing import List, Awaitable, Callable
from typing import List

import slack
from aiohttp import ClientSession
Expand Down Expand Up @@ -88,7 +88,7 @@ async def sync_slack_users(
logger.debug("Refreshing slack users cache.")

try:
counter = Counter()
counter: Counter = Counter()
async for user in slack_client.iter(slack.methods.USERS_LIST, minimum_time=3):
if user["deleted"] or user["is_bot"] or not user["tz"]:
continue
Expand Down

0 comments on commit 3bc1dfa

Please sign in to comment.