We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ref:
Python-2.7/Lib/posixpath.py
Line 61 in eaeb810
I ran into a failure of this function when trying to upgrade OctoPrint. The error was 'NoneType' object has no attribute 'endswith'.
This was caused by the first input argument, a, being of type None. I added the following check: path = a if path == None: path = ""
This fixed the problem and the OctoPrint upgrade finished correctly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ref:
Python-2.7/Lib/posixpath.py
Line 61 in eaeb810
I ran into a failure of this function when trying to upgrade OctoPrint. The error was 'NoneType' object has no attribute 'endswith'.
This was caused by the first input argument, a, being of type None. I added the following check:
path = a
if path == None:
path = ""
This fixed the problem and the OctoPrint upgrade finished correctly.
The text was updated successfully, but these errors were encountered: