borgend.py

Fri, 19 Jan 2018 10:41:01 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Fri, 19 Jan 2018 10:41:01 +0000
changeset 2
e343594c0014
parent 1
4cdc9c1f6b28
child 3
4cad934aa9ce
permissions
-rwxr-xr-x

basic config processing

#!/usr/local/bin/python3

from backup import Backup
from config import settings
import ui
import queue
#import scheduler

if __name__ == "__main__":
    #print(settings)
    #BorgendTray("Borgend").run()
    pass

backupconfigs=settings['backups']
backups=[None]*len(backupconfigs);

for i in range(len(backupconfigs)):
    backups[i]=Backup(i, backupconfigs[i])

backups[0].create()

mercurial