restructure project
This commit is contained in:
parent
222bac4576
commit
a4b0c819be
|
@ -1,4 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
source bin/activate
|
|
||||||
python3 borg_interface.py
|
|
||||||
exit 0
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
source borg_interface/bin/activate
|
||||||
|
python3 borg_interface/main.py
|
||||||
|
exit 0
|
|
@ -53,10 +53,8 @@ def configuration():
|
||||||
+ config['DEFAULT']['server']
|
+ config['DEFAULT']['server']
|
||||||
+ ":"
|
+ ":"
|
||||||
+ config['DEFAULT']['repository_path'])
|
+ config['DEFAULT']['repository_path'])
|
||||||
print("remote archive")
|
|
||||||
else:
|
else:
|
||||||
repository = config['DEFAULT']['repository_path']
|
repository = config['DEFAULT']['repository_path']
|
||||||
print("local archive")
|
|
||||||
input()
|
input()
|
||||||
# assign the password variable
|
# assign the password variable
|
||||||
password = config['DEFAULT']['password']
|
password = config['DEFAULT']['password']
|
Reference in New Issue