Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug 213 #220

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tagstudio/src/core/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ def save_library_backup_to_disk(self) -> str:

logging.info(f"[LIBRARY] Saving Library Backup to Disk...")
start_time = time.time()
filename = f'ts_library_backup_{datetime.datetime.utcnow().strftime("%F_%T").replace(":", "")}.json'
filename = f'ts_library_backup_{datetime.datetime.now(datetime.UTC).strftime("%F_%T").replace(":", "")}.json'

self.verify_ts_folders()
with open(
Expand Down
1 change: 1 addition & 0 deletions tagstudio/src/qt/widgets/preview_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ def write_container(self, index, field, mixed=False):
inner_container = TextWidget(
title, str(self.lib.get_field_attr(field, "content"))
)
container.set_inner_widget(inner_container)
# if type(item) == Entry:
container.set_copy_callback(None)
container.set_edit_callback(None)
Expand Down