remove the print server line

Was for testing only
This commit is contained in:
Andreas Zweili 2016-12-14 12:54:36 +01:00
parent 19078abedf
commit d42dd07a14
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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']
+ "@"