From 929e2862d5bcbb7897fa143cad443db8dd05abe5 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 2 Feb 2023 22:10:43 +0100 Subject: [PATCH] Remove WIP print statements --- npbackup/configuration.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/npbackup/configuration.py b/npbackup/configuration.py index de04bf6..1580df2 100644 --- a/npbackup/configuration.py +++ b/npbackup/configuration.py @@ -173,13 +173,11 @@ def has_random_variables(config_dict: dict) -> Tuple[bool, dict]: for entry in config_dict[section].keys(): if isinstance(config_dict[section][entry], str): matches = re.search(r"\${RANDOM}\[(.*)\]", config_dict[section][entry]) - print(matches) if matches: try: char_quantity = int(matches.group(1)) except (ValueError, TypeError): char_quantity = 1 - print(random_string(char_quantity)) config_dict[section][entry] = re.sub( r"\${RANDOM}\[.*\]", random_string(char_quantity),