mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 05:04:38 +03:00
mypy
This commit is contained in:
@@ -236,7 +236,7 @@ class Cli:
|
||||
def _set_sevenzip(self, external: Optional[str]) -> Optional[str]:
|
||||
sevenzip = external
|
||||
fallback = Settings.zipcmd
|
||||
if not sevenzip:
|
||||
if sevenzip is None:
|
||||
if EXT7Z:
|
||||
self.logger.warning(f"The py7zr module failed to load. Falling back to '{fallback}' for .7z extraction.")
|
||||
self.logger.warning(f"You can use the '--external | -E' flags to select your own extraction tool.")
|
||||
|
||||
Reference in New Issue
Block a user