Skip to content

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

Open
smCloudInTheSky wants to merge 1 commit intobabluboy:masterfrom
smCloudInTheSky:master
Open

fix print in case of python env isn't python2#368
smCloudInTheSky wants to merge 1 commit intobabluboy:masterfrom
smCloudInTheSky:master

Conversation

@smCloudInTheSky
Copy link
Copy Markdown

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

@jbicha
Copy link
Copy Markdown

jbicha commented Jan 5, 2024

@smCloudInTheSky
Copy link
Copy Markdown
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