restructure project

This commit is contained in:
Andreas Zweili 2016-12-14 21:30:05 +01:00
parent 222bac4576
commit a4b0c819be
19 changed files with 4 additions and 6 deletions

View File

@ -1,4 +0,0 @@
#!/bin/bash
source bin/activate
python3 borg_interface.py
exit 0

4
borg_interface.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
source borg_interface/bin/activate
python3 borg_interface/main.py
exit 0

View File

@ -53,10 +53,8 @@ def configuration():
+ config['DEFAULT']['server']
+ ":"
+ config['DEFAULT']['repository_path'])
print("remote archive")
else:
repository = config['DEFAULT']['repository_path']
print("local archive")
input()
# assign the password variable
password = config['DEFAULT']['password']