Skip to content

Commit

Permalink
Update MasterServer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Mar 17, 2024
1 parent 2624445 commit 5d18f18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion protocols/MasterServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from datetime import datetime, timedelta, timezone
import os
import time
from typing import Optional
from pymongo import MongoClient
from dotenv import load_dotenv
import requests
Expand Down Expand Up @@ -38,7 +39,7 @@ def job(self):
pass

@abstractmethod
def find(self, *, host: str, port: int) -> dict:
def find(self, *, host: str, port: int) -> Optional[dict]:
pass

def run(self):
Expand Down

0 comments on commit 5d18f18

Please sign in to comment.