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 didn’t read from file while chose record #19

Merged
merged 1 commit into from Jun 21, 2017

Conversation

LinSuper
Copy link

No description provided.

@catb0t
Copy link
Contributor

catb0t commented May 13, 2017

Thanks for this -- I was using the following in a shell script to get around the URL requirement:

here="file://$(realpath .)/$2"

Essentially turns the filename into an absolute file:// URL.

We could do that in Python too, but it probably makes more sense to open local files with the open syscall than a urllib socket.

@perenecabuto perenecabuto merged commit e73c314 into perenecabuto:master Jun 21, 2017
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.

None yet

3 participants