Updated config file

Updated config file to contain a section for the source notebook and section
This commit is contained in:
kdeng00
2022-10-01 20:29:18 -04:00
parent 9de6fdb11c
commit ec07a810bf
2 changed files with 13 additions and 3 deletions
+3 -1
View File
@@ -71,6 +71,8 @@ class Config(object):
self.vendors = vendors self.vendors = vendors
class Vendor(object): class Vendor(object):
def __init__(self, username=None, password=None) -> None: def __init__(self, username=None, password=None, source_notebook=None, source_section=None) -> None:
self.username = username self.username = username
self.password = password self.password = password
self.source_notebook = source_notebook
self.source_section = source_section
+9 -1
View File
@@ -9,7 +9,15 @@
"vendors": { "vendors": {
"simplenote": { "simplenote": {
"username": "me", "username": "me",
"password": "who" "password": "who",
"source_notebook": "",
"source_section": ""
},
"onenote": {
"username": "",
"password": "",
"source_notebook": "New notebook",
"source_section": "New Section"
} }
} }
} }