parent
19078abedf
commit
d42dd07a14
|
@ -1,5 +1,5 @@
|
|||
[DEFAULT]
|
||||
server: 10.7.89.108
|
||||
user: borg
|
||||
repository_path: /home/borg/backup/gwyn
|
||||
password: 7EMvQ9G4ay7woHXSS5Dt27eZDsnDZu
|
||||
#server:
|
||||
#user:
|
||||
repository_path: /home/andreas/test
|
||||
password: foo
|
||||
|
|
|
@ -44,7 +44,6 @@ def configuration():
|
|||
# read config file
|
||||
config.read('borg_interface.cfg')
|
||||
# assign the repository variable
|
||||
print(config['DEFAULT']['server'])
|
||||
if 'server' in config['DEFAULT']:
|
||||
repository = (config['DEFAULT']['user']
|
||||
+ "@"
|
||||
|
|
Reference in New Issue