mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-26 10:05:50 +03:00
[PR #187] [CLOSED] Updated path to be platform-independent #436
Labels
No labels
bug
duplicate
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Insomniac#436
Loading…
Add table
Add a link
Reference in a new issue
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?
📋 Pull Request Information
Original PR: https://github.com/alexal1/Insomniac/pull/187
Author: @giacomo-b
Created: 11/17/2020
Status: ❌ Closed
Base:
master← Head:platform-independent-path📝 Commits (3)
4dc0f67Updated path to be platform-independent4b797f6Fixed additional file-dependent paths21371cdFinished fixing system-dependent paths📊 Changes
3 files changed (+11 additions, -11 deletions)
View changed files
📝
insomniac/persistent_list.py(+1 -1)📝
insomniac/storage.py(+7 -7)📝
insomniac/utils.py(+3 -3)📄 Description
Updated
pathso that it is platform independent:Before:
path = directory + self.filename + ".json"After:
path = os.path.join(directory, self.filename + ".json")🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.