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 picgo and cliScript uploader (marktext#2915) #3296

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

Conversation

Xander-C
Copy link

@Xander-C Xander-C commented Jun 8, 2022

Q A
Bug fix? yes
New feature? no
Breaking changes? no
Deprecations? no
New tests added? not needed
Fixed tickets Fixes #2915
License MIT

Description

While uploading image from paste board, function uploadByCommand get the raw image bin data from parameter filepath, and save it into a temp file in sys temp dir.

1.path.join() require all string parameters but now a number provided, which raise a error and the error has been ignored (cause infinite loading)
2.Picgo upload image depends on suffix of the file.

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.

can't upload image with Picgo,but using picgo command is successful on my loacl
1 participant