mirror of
				https://github.com/KevinMidboe/mktxp-no-cli.git
				synced 2025-10-29 17:50:23 +00:00 
			
		
		
		
	wifi rates fix
This commit is contained in:
		| @@ -85,7 +85,7 @@ class BaseOutputProcessor: | |||||||
|             wifi_rates_rgx = re.compile(r'(\d*(?:\.\d*)?)([GgMmKk]bps?)') |             wifi_rates_rgx = re.compile(r'(\d*(?:\.\d*)?)([GgMmKk]bps?)') | ||||||
|             config_handler.re_compiled['wifi_rates_rgx'] = wifi_rates_rgx |             config_handler.re_compiled['wifi_rates_rgx'] = wifi_rates_rgx | ||||||
|         rc = wifi_rates_rgx.search(rate) |         rc = wifi_rates_rgx.search(rate) | ||||||
|         return f'{int(float(rc[1]))} {rc[2]}' |         return f'{int(float(rc[1]))} {rc[2]}' if rc else '' | ||||||
|  |  | ||||||
|     @staticmethod |     @staticmethod | ||||||
|     def parse_timedelta(time): |     def parse_timedelta(time): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user