Add optional server key to RunConfig
MODIFY
plextraktsync/config/RunConfig.py
plextraktsync/config/RunConfig.py
from dataclasses import dataclass
+from typing import Optional
@dataclass
@@ -10,6 +11,7 @@ class RunConfig:
dry_run: bool = False
batch_delay: int = 5
progressbar: bool = True
+ server: Optional[str] = None
def update(self, **kwargs):
for name, value in kwargs.items():

Add optional server key to RunConfig