Wizzatrd: create .enabled, fix some typos
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
@@ -320,15 +320,17 @@ def main() -> int:
|
||||
x = clone_or_fetch(project_path.as_posix(), clone_init = True, detector_init = data["detector_init"])
|
||||
|
||||
if x == 0:
|
||||
# enable repository
|
||||
project_path.joinpath(".enabled").touch()
|
||||
return 0
|
||||
|
||||
# determine if to continue
|
||||
# determine if we want to continue
|
||||
log.critical(f"Something has failed. Please see log above and decide what to do")
|
||||
menu_config = "Edit config and start over"
|
||||
menu_reclone = "Try cloning again, including base repo"
|
||||
menu_clone_again = "Try cloning again, including base repo"
|
||||
menu_quit_clean = "Quit & clean"
|
||||
decision: str = pyip.inputMenu(
|
||||
[menu_config, menu_reclone, menu_quit_clean],
|
||||
[menu_config, menu_clone_again, menu_quit_clean],
|
||||
numbered = True)
|
||||
|
||||
# other stuff
|
||||
|
||||
Reference in New Issue
Block a user