Skip to content

Commit

Permalink
Fix small error regarding Tuple use
Browse files Browse the repository at this point in the history
  • Loading branch information
wrideout committed Feb 22, 2021
1 parent 9d103ab commit 0c57b1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import re
import json
from pathlib import Path
from typing import Tuple
import pandas as pd
from slack_bolt import App
from slack_sdk import WebClient
Expand Down Expand Up @@ -150,7 +151,7 @@ def decrement_karma(self, msg: str) -> str:
self.logger.debug("Got decrement for %s", item)
return f"{snark} {item} now has {total} points."

def display_karma_leaderboards(self) -> tuple[str, str, str]:
def display_karma_leaderboards(self) -> Tuple[str, str, str]:
"""Prints rudimentary user and thing leaderboards.
Returns
Expand Down

0 comments on commit 0c57b1e

Please sign in to comment.