Added customizable backup working dir to BackupManager

This commit is contained in:
Felipe Martín 2013-11-26 18:09:47 +01:00
parent 4c264692fb
commit f65e477241
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ class BackupManager(object):
# Backups loaded
backups = {}
def __init__(self):
self.path = BACKUPS_PATH
def __init__(self, path=BACKUPS_PATH):
self.path = path
def lookup(self):
"""