Merge pull request #101 from TechCrafterGaming/FIX-002

This commit is contained in:
Travis Abendshien
2024-04-29 16:54:07 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -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 whats 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 dont 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 dont 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.

View File

@@ -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)