markdown2pdf icon indicating copy to clipboard operation
markdown2pdf copied to clipboard

Script fails

Open Tomaszu97 opened this issue 5 years ago • 1 comments

There are no paentheses in init.py file, line 20: print css_file I use Python3 and downloaded package using pip3 as well

Tomaszu97 avatar May 14 '20 20:05 Tomaszu97

@Tomaszu97

The repository has not been updated by the author on PyPI, though the package has been fixed by other contributor on GitHub. To address the issue, just apply the fix in the package as below :

$ sudo gedit /home/<user_name>/.local/lib/<python_version>/site-packages/markdown2pdf/__init__.py

  • Replace line 20 print css_file to print(css_file)
  • Now module will work correctly

Accelerator-One avatar Nov 01 '20 07:11 Accelerator-One