We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 425254c commit 5ba1accCopy full SHA for 5ba1acc
1 file changed
comiclib/scanner/30-importEHdb.py
@@ -2,11 +2,12 @@
2
from typing import Union
3
import sqlite3, re, ast
4
from datetime import date
5
+from pydantic import Field
6
from pydantic_settings import BaseSettings
7
8
class Settings(BaseSettings):
9
importEHdb_thumb: bool = True
- importEHdb_matchtitle: Union[bool, str] = True
10
+ importEHdb_matchtitle: Union[bool, str] = Field(default=True, union_mode='left_to_right')
11
importEHdb_matchtorrent: bool = True
12
settings = Settings()
13
0 commit comments