smscalls: allow multiple backup dirs (#172)

* smscalls: allow multiple backup dirs
* add smscalls to my.config, add test to CI
This commit is contained in:
Sean Breckenridge 2021-05-13 17:35:36 -07:00 committed by GitHub
parent 014494059d
commit b64a11cc69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 3 deletions

View file

@ -5,13 +5,13 @@ Exported using https://play.google.com/store/apps/details?id=com.riteshsahu.SMSB
REQUIRES = ['lxml']
from .core import PathIsh, dataclass
from .core import Paths, dataclass
from my.config import smscalls as user_config
@dataclass
class smscalls(user_config):
# directory that SMSBackupRestore syncs XML files to
export_path: PathIsh
# path[s] that SMSBackupRestore syncs XML files to
export_path: Paths
from .core.cfg import make_config
config = make_config(smscalls)