mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
dropped un unsed error assignment
This commit is contained in:
6
src/backend/pyShelf_ScanLibrary.py
vendored
Executable file → Normal file
6
src/backend/pyShelf_ScanLibrary.py
vendored
Executable file → Normal file
@@ -16,8 +16,10 @@ def execute_scan(root, **kwargs):
|
||||
:param root: Project root. Required to properly execute program. Sends to configuration.
|
||||
"""
|
||||
_t1 = time.time()
|
||||
try: config = kwargs["config"];
|
||||
except KeyError as e: config = Config(root) # Get configuration settings
|
||||
try:
|
||||
config = kwargs["config"]
|
||||
except KeyError:
|
||||
config = Config(root) # Get configuration settings
|
||||
InitFiles(config.file_array) # Initialize file system
|
||||
catalogue = Catalogue(config) # Open the Catalogue
|
||||
catalogue.import_books()
|
||||
|
||||
Reference in New Issue
Block a user