nvm i'm stupid
This commit is contained in:
1 parent
84b84f45b6
commit
caba8d42bd
1 file changed
-4
@@ -253,7 +253,3 @@ def is_port_in_use(port: int) -> bool:
|
||||
|
||||
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
|
||||
return s.connect_ex(("localhost", port)) == 0
|
||||
|
||||
|
||||
def does_game_folder_exist(folder: str) -> bool:
|
||||
return not (os.path.isdir(SERVER_PATH + "/" + folder))
|
||||
Reference in new issue
Block a user