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 get bash version and variable name #78

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

Conversation

danixmarques
Copy link

This merge fix the following error when installing marker with ~/.marker/install.py

Traceback (most recent call last):
  File "/home/daniel/javascript/./marker/install.py", line 97, in <module>
    main()
  File "/home/daniel/javascript/./marker/install.py", line 81, in main
    verify_requirements()
  File "/home/daniel/javascript/./marker/install.py", line 61, in verify_requirements
    m = re.search('(\d).(\d)', version_text)
  File "/usr/lib/python3.10/re.py", line 200, in search
    return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object

Also, fix a misspelled variable name.

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.

1 participant