don't check dependencies on -v
argument
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user