From d42dd07a1425d6604fea159493fc676abd7facae Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 14 Dec 2016 12:54:36 +0100 Subject: [PATCH] remove the print server line Was for testing only --- borg_interface.cfg | 8 ++++---- interface_functions.py | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/borg_interface.cfg b/borg_interface.cfg index 45fe8e2..3dcac99 100644 --- a/borg_interface.cfg +++ b/borg_interface.cfg @@ -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 diff --git a/interface_functions.py b/interface_functions.py index 2bce2d0..3880dc5 100644 --- a/interface_functions.py +++ b/interface_functions.py @@ -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'] + "@"