1
0
mirror of synced 2024-11-15 03:07:40 +01:00

staticmethod (#232)

This commit is contained in:
Ftps 2023-05-06 01:13:27 +09:00 committed by GitHub
parent 4abd0bd680
commit e3cb0485ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,8 @@ class Config:
) = self.arg_parse()
self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config()
def arg_parse(self) -> tuple:
@staticmethod
def arg_parse() -> tuple:
parser = argparse.ArgumentParser()
parser.add_argument("--port", type=int, default=7865, help="Listen port")
parser.add_argument(