don't check dependencies on -v argument

This commit is contained in:
piotr
2021-03-11 01:32:10 +01:00
parent e76f22461e
commit 1a89acf2f8

View File

@@ -168,8 +168,6 @@ def instantiate_content(panel, container, content_list, icons_path=""):
def main():
common.config_dir = get_config_dir()
check_commands()
print("Dependencies check:", common.commands)
parser = argparse.ArgumentParser()
parser.add_argument("-c",
@@ -197,6 +195,9 @@ def main():
args = parser.parse_args()
check_commands()
print("Dependencies check:", common.commands)
global restart_cmd
restart_cmd = "nwg-panel -c {} -s {}".format(args.config, args.style)