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

Update library.py - typo fix #164

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions app/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def identify_files_and_add_to_db(library_path, files):
nb_to_identify = len(files)
for n, filepath in enumerate(files):
file = filepath.replace(library_path, "")
logger.info(f'Identifiying file ({n+1}/{nb_to_identify}): {file}')
logger.info(f'Identifying file ({n+1}/{nb_to_identify}): {file}')

file_info = identify_file(filepath)

Expand All @@ -15,7 +15,7 @@ def identify_files_and_add_to_db(library_path, files):
# in the future save identification error to be displayed and inspected in the UI
continue

logger.info(f'Identifiying file ({n+1}/{nb_to_identify}): {file} OK Title ID: {file_info["title_id"]} App ID : {file_info["app_id"]} Title Type: {file_info["type"]} Version: {file_info["version"]}')
logger.info(f'Identifying file ({n+1}/{nb_to_identify}): {file} OK Title ID: {file_info["title_id"]} App ID : {file_info["app_id"]} Title Type: {file_info["type"]} Version: {file_info["version"]}')
add_to_titles_db(library_path, file_info)


Expand Down Expand Up @@ -129,4 +129,4 @@ def generate_library():
))
logger.info(f'Generating library done.')

return titles_library
return titles_library