diff --git a/refit/src/modules/refit_create.py b/refit/src/modules/refit_create.py index 440dedd..a1e37d1 100644 --- a/refit/src/modules/refit_create.py +++ b/refit/src/modules/refit_create.py @@ -28,8 +28,9 @@ class Refit_Create: self.filemode = args.filemode def create_input_valid(self): - """Checks if the input is valid and returns either True or - throws an error in log and terminal.""" + """Checks if the input is argument for its existence. If no input + argument with a value is passed, the current directory is used and + passed to the input""" logger.debug(f"Start create_input_valid() value= {self.input}") if self.input is None: @@ -41,7 +42,7 @@ class Refit_Create: return self.input else: logger.debug( - f"Exiting create_input_valid() with valid input. value= {self.input}" + f"FUNC: create_input_valid() MSG: Exit with valid input. value= {self.input}" ) return True @@ -132,5 +133,5 @@ class Refit_Create: self.create_n_folders(self.n, self.input, self.name) def __call__(self): - """Gets called when the object is treated as an function""" + """Gets called when the 'create' subcommand is used.""" self.rf_create_decider()