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

original order of clips by location is not maintained #8

Open
jackjackk opened this issue Sep 3, 2016 · 1 comment
Open

original order of clips by location is not maintained #8

jackjackk opened this issue Sep 3, 2016 · 1 comment

Comments

@jackjackk
Copy link

For each book, a dict X is created using a string of the clip position as key.
Then clips are written for each pos in sorted(X), so that e.g. "3748" comes before "410".
For the moment I'm using an inefficient:

for pos in sorted([int(x) for x in clips[book].keys()]):

in export_txt.

@matiasparadela
Copy link

Hi! Did you find a solution for this? Where do you use that line of code? (sorry for the noob question)

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

No branches or pull requests

2 participants