mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 07:39:10 +00:00
Merge pull request #101 from TechCrafterGaming/FIX-002
This commit is contained in:
@@ -276,4 +276,4 @@ As of right now, no. However, I _did_ have a CLI version in the recent past befo
|
||||
|
||||
**Yes!!** I recommend taking a look at the [Priority Features](#priority-features), [Future Features](#future-features), and [Features I Won't Pull](#features-i-likely-wont-addpull) lists, as well as the project issues to see what’s currently being worked on. Please do not submit pull requests with new feature additions without opening up an issue with a feature request first.
|
||||
|
||||
As of writing I don’t have a concrete style guide, just try to stay within or close enough to the PEP 8 style guide and/or match the style of the existing code.
|
||||
As of writing I don’t have a concrete style guide, just try to stay within or close enough to the [PEP 8](https://peps.python.org/pep-0008/) style guide and/or match the style of the existing code.
|
||||
|
||||
@@ -398,7 +398,7 @@ class QtDriver(QObject):
|
||||
|
||||
|
||||
def callback_library_needed_check(self,func):
|
||||
#Check if loaded library has valid path before executing the button function
|
||||
"""Check if loaded library has valid path before executing the button function"""
|
||||
if self.lib.library_dir:
|
||||
func()
|
||||
|
||||
@@ -407,7 +407,7 @@ class QtDriver(QObject):
|
||||
self.shutdown()
|
||||
|
||||
def shutdown(self):
|
||||
# Save Library on Application Exit
|
||||
"""Save Library on Application Exit"""
|
||||
if self.lib.library_dir:
|
||||
self.save_library()
|
||||
self.settings.setValue("last_library", self.lib.library_dir)
|
||||
|
||||
Reference in New Issue
Block a user