From e3cb0485ce8c570e0da0803656d666cd372b495b Mon Sep 17 00:00:00 2001 From: Ftps <63702646+Tps-F@users.noreply.github.com> Date: Sat, 6 May 2023 01:13:27 +0900 Subject: [PATCH] staticmethod (#232) --- config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index d2518b8..496b3cb 100644 --- a/config.py +++ b/config.py @@ -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(