mirror of
https://github.com/alexal1/Insomniac.git
synced 2026-04-27 02:25:50 +03:00
[GH-ISSUE #148] FEATURE - Backup for interacted_users.json #116
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#116
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?
Originally created by @guztavoalves on GitHub (Oct 21, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/148
I had an problem with this file many times, the content is blank after script crash or error when try writing on disk.
This file is very important, then creating an backup every new session resolve this problem.
Every new session get the content of interacted_users.json if not Null save the content in interacted_users_backup.json, after finished the session or script finished, save the content in interacted_users.json and interacted_users_backup.json.
I updated the storage.py for this feature, that's working fine. =)
storage.zip
@Fadude commented on GitHub (Jan 6, 2021):
Everything is under a sqlite3 db. Is it still needed? Closing, if needed please reopen