summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Snapshots/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Snapshots/__init__.py b/src/lib/Server/Snapshots/__init__.py
index 2168ee55f..eb849e715 100644
--- a/src/lib/Server/Snapshots/__init__.py
+++ b/src/lib/Server/Snapshots/__init__.py
@@ -14,7 +14,7 @@ def db_from_config(fname='/etc/bcfg2.conf'):
password = cp.get('snapshots', 'password')
host = cp.get('snapshots', 'host')
db = cp.get('snapshots', 'database')
- return '%s://%s:%s@%s/@s' % (driver, user, password, host, db)
+ return '%s://%s:%s@%s/%s' % (driver, user, password, host, db)
else:
raise Exception, "unsupported db driver %s" % driver