From f42af91a19d16f36d2a7ea2e8622252cf7d211b0 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 3 Sep 2021 11:04:48 +0200 Subject: Restructure Code --- src/scripts/xbackup | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/scripts') diff --git a/src/scripts/xbackup b/src/scripts/xbackup index 0155203..69246ea 100644 --- a/src/scripts/xbackup +++ b/src/scripts/xbackup @@ -8,16 +8,13 @@ Have a look at https://gitea.xengineering.eu/xengineering/xbackup for details. """ -import argparse - -import xbackup +from xbackup import script def main(): """Main Function of this Script""" - parser = argparse.ArgumentParser() - parser.parse_args() + script.run() if __name__ == "__main__": -- cgit v1.2.3-70-g09d2