This commit is contained in:
Zsolt Ero
2024-01-03 22:12:57 +01:00
parent 9059c27707
commit b3ce2bd9dd
4 changed files with 10 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ def cli(mbtiles_path: Path, dir_path: Path):
"""
if dir_path.exists() and any(dir_path.iterdir()):
sys.exit('Dir not empty')
sys.exit(' dir not empty')
dir_path.mkdir(exist_ok=True)

View File

@@ -33,7 +33,7 @@ def cli(btrfs_img: Path):
"""
if os.geteuid() != 0:
sys.exit('Needs sudo')
sys.exit(' needs sudo')
current_dir = Path.cwd()