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

Flask test #13

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Flask test #13

wants to merge 11 commits into from

Conversation

zvek6
Copy link
Collaborator

@zvek6 zvek6 commented Sep 12, 2023

No description provided.

effihol and others added 5 commits September 1, 2023 13:18
plus minimized the text for languages
*cutlines + page numbering
*edited few files
*runs from main only!
@zvek6 zvek6 mentioned this pull request Sep 12, 2023

import src.pdfbooklet_new as pdfbooklet_new
import pdfbooklet_new as pdfbooklet_new
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems like this fails the CI, maybe move you father folder in flask one folder backwords

src/webUI.py Outdated
Comment on lines 78 to 79
files = [file for file in list_dir if original_name_part in file and original_name!=file]
return files[0] # should be only one element...
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
files = [file for file in list_dir if original_name_part in file and original_name!=file]
return files[0] # should be only one element...
files = [file for file in list_dir if original_name_part in file and original_name!=file]
assert len(files) == 1, f"Only one file should be given! files = {files}"
return files[0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants