1
1
Fork
You've already forked versionedconfig
1

Folder should be created automatically #1

Open
opened 2025年04月26日 14:01:53 +02:00 by fabbecker · 0 comments

Programs using this lib might encounter a FileNotFoundError.

Proposed solution

Create the directory in

with open(self.path, 'w') as file:

using os.mkdirs.

Programs using this lib might encounter a `FileNotFoundError`. ## Proposed solution Create the directory in https://codeberg.org/fabbecker/versionedconfig/src/commit/19e81dd22e2e3774273c0e100a94de76455e1afe/versionedconfig/configuration.py#L41 using `os.mkdirs`.
Sign in to join this conversation.
No Branch/Tag specified
main
multi-use
v0.0.3
v0.0.2
autosave
v0.0.4
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fabbecker/versionedconfig#1
Reference in a new issue
fabbecker/versionedconfig
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?