File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def register(self, parser: argparse.ArgumentParser):
30
30
self .__paths [subparser_name ] = fullpath
31
31
32
32
# Add parser and arguments
33
- sub = subparsers .add_parser (subparser_name , help = f" { protocol_classname } protocol" )
33
+ sub = subparsers .add_parser (subparser_name , help = '{ } protocol' . format ( protocol_classname ) )
34
34
self .__add_arguments (sub , parameters )
35
35
36
36
# Load all servers from __init__.py
Original file line number Diff line number Diff line change 1
1
import json
2
2
from dataclasses import dataclass
3
+ from typing import List
3
4
4
5
from opengsq .protocols .models .player import Player
5
6
@@ -12,7 +13,7 @@ class Server:
12
13
max_players : int
13
14
bots : int
14
15
latency : float
15
- player_list : list
16
+ player_list : List [ Player ]
16
17
17
18
def __init__ (self ):
18
19
pass
You can’t perform that action at this time.
0 commit comments