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

fix print in case of python env isn't python2 #368

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smCloudInTheSky
Copy link

Hello,

I tried to install bookworm on pop os 21.04. Had some errors on the post install script :

Paramétrage de bookworm (1.1.2+git20200823-1) ...
File "/usr/share/com.github.babluboy.bookworm/scripts/mobi_lib/mobiml2xhtml.py", line 507
print 'Converting Mobi Markup Language to XHTML'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Converting Mobi Markup Language to XHTML')?

this should do the work I did copy what you did on other print on this file

@smCloudInTheSky
Copy link
Author

Sure but it is limited to debian
Wouldn't it be better in 2024 to merge this within the project as python2 as been deprecated for a while ? If you want I can improve the PR.

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.

2 participants