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:
parent
014494059d
commit
b64a11cc69
3 changed files with 8 additions and 3 deletions
|
@ -24,6 +24,9 @@ class hypothesis:
|
|||
class instapaper:
|
||||
export_path: Paths = ''
|
||||
|
||||
class smscalls:
|
||||
export_path: Paths = ''
|
||||
|
||||
class pocket:
|
||||
export_path: Paths = ''
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue