Skip to content

fix: adds settings reset logic#251

Open
Kilka0s0Tomatami wants to merge 3 commits intoOSLL:mainfrom
Kilka0s0Tomatami:feature2
Open

fix: adds settings reset logic#251
Kilka0s0Tomatami wants to merge 3 commits intoOSLL:mainfrom
Kilka0s0Tomatami:feature2

Conversation

@Kilka0s0Tomatami
Copy link
Copy Markdown

Сделал сброс пути отчетов через пустую строку, но пока работает нестабильно.


if key == "reports":
str_value = str(new_value) if new_value is not None else ""
if str_value in ["", "."]:
Copy link
Copy Markdown
Collaborator

@Artanias Artanias Apr 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Как будто точка валидный путь - текущая директория, а далее в ней будет созад файлик csv потенциально.

@Artanias Artanias linked an issue Apr 7, 2026 that may be closed by this pull request
@Artanias Artanias changed the title Feature2 fix: adds settings reset logic Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't unset reports path when set

2 participants