chore: set signature to be empty by default
This commit is contained in:
@@ -38,7 +38,7 @@ class Mail:
|
||||
password: str
|
||||
use_user_name: bool
|
||||
user_name: str
|
||||
signature: str
|
||||
signature: str | None = None
|
||||
empty_signature = """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style
|
||||
@@ -141,14 +141,6 @@ class Config:
|
||||
def set_zotero_attr(self, name, value):
|
||||
OmegaConf.update(self._config, f"zotero.{name}", value)
|
||||
|
||||
@property
|
||||
def default_apps(self):
|
||||
return self._config.default_apps
|
||||
|
||||
@default_apps.setter
|
||||
def default_apps(self, value: bool):
|
||||
self._config.default_apps = value
|
||||
|
||||
@property
|
||||
def save_path(self):
|
||||
return self._config.save_path
|
||||
@@ -165,3 +157,6 @@ class Config:
|
||||
str: Folder path as string
|
||||
"""
|
||||
return self._config.icon_path
|
||||
|
||||
def dict(self):
|
||||
return OmegaConf.to_container(self._config)
|
||||
Reference in New Issue
Block a user