Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DarwinsBuddy committed Nov 22, 2024
1 parent 7bc6457 commit 4d76085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions foosball/hooks/web.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
import os
import threading
from typing import Mapping, Self
from typing import Mapping

import urllib3
import yaml
Expand Down Expand Up @@ -43,7 +43,7 @@ def call(method: str, url: str, json: dict = None, headers: Mapping[str, str] =
logging.error(f"Webhook failed - {e}")

@classmethod
def load_webhook(cls, filename: str) -> Self:
def load_webhook(cls, filename: str):
if os.path.isfile(filename):
with open(filename, 'r') as f:
wh = yaml.safe_load(f)
Expand Down

0 comments on commit 4d76085

Please sign in to comment.