mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Finished checking for new books
This commit is contained in:
10
main.py
10
main.py
@@ -1,16 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
import sys
|
||||
sys.path.insert(1, 'lib/')
|
||||
from pyShelf import InitFiles
|
||||
|
||||
from config import Config
|
||||
from library import Catalogue
|
||||
from lib.library import Catalogue
|
||||
from lib.pyShelf import InitFiles
|
||||
|
||||
sys.path.insert(1, 'lib/')
|
||||
|
||||
config = Config() # Get configuration settings
|
||||
InitFiles(config.file_array) # Initialize file system
|
||||
Catalogue = Catalogue() # Open the Catalogue
|
||||
|
||||
# new_books = Catalogue.new_files()
|
||||
Catalogue.import_books() # Filter Your books
|
||||
# TODO Resolve database locking after querying for book list
|
||||
# TODO Figure out a system to get books page count
|
||||
# TODO Update Documentation
|
||||
# TODO Requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user