mirror of
https://github.com/Xevion/bulk-reminders.git
synced 2025-12-15 00:11:08 -06:00
Add ProgressBar to GUI for Event Insertion/Deletion
- Added logging to GUI Undo functionality - Added support for hyphens in data input - Indent encoded JSONPickle output
This commit is contained in:
@@ -31,7 +31,7 @@ class HistoryManager(object):
|
||||
"""Save data to the undo history file."""
|
||||
logger.info('Saving to undo history file.')
|
||||
with open(self.file, 'w') as file:
|
||||
file.write(jsonpickle.encode(self.stages))
|
||||
file.write(jsonpickle.encode(self.stages, indent=4))
|
||||
|
||||
def getTotal(self) -> int:
|
||||
"""Returns the total number of undoable events known."""
|
||||
|
||||
Reference in New Issue
Block a user