mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
Intelligent probing with warnings for fwflash.py (#3005)
* scripts: fwflash: intelligent probing with warnings * scripts: fwflash: better texting Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -15,10 +15,9 @@ class App:
|
||||
# Application specific initialization
|
||||
self.init()
|
||||
|
||||
def __call__(self, args=None, skip_logger_init=False):
|
||||
def __call__(self, args=None):
|
||||
self.args, self.other_args = self.parser.parse_known_args(args=args)
|
||||
# configure log output
|
||||
# if skip_logger_init:
|
||||
self.log_level = logging.DEBUG if self.args.debug else logging.INFO
|
||||
self.logger.setLevel(self.log_level)
|
||||
if not self.logger.hasHandlers():
|
||||
|
||||
Reference in New Issue
Block a user