mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
lint fix
This commit is contained in:
@@ -238,7 +238,7 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes
|
|||||||
self.__drive.set_image_path("")
|
self.__drive.set_image_path("")
|
||||||
self.__drive.set_rw_flag(False)
|
self.__drive.set_rw_flag(False)
|
||||||
self.__drive.set_cdrom_flag(False)
|
self.__drive.set_cdrom_flag(False)
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError: # pylint: disable=try-except-raise
|
||||||
raise
|
raise
|
||||||
except Exception:
|
except Exception:
|
||||||
get_logger(0).exception("Can't reset MSD")
|
get_logger(0).exception("Can't reset MSD")
|
||||||
|
|||||||
Reference in New Issue
Block a user