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

ofName zfill call #12

Closed
bitsgalore opened this issue Nov 21, 2018 · 1 comment
Closed

ofName zfill call #12

bitsgalore opened this issue Nov 21, 2018 · 1 comment

Comments

@bitsgalore
Copy link
Member

bitsgalore commented Nov 21, 2018

https://github.com/bitsgalore/tapeimgr/blob/6e1fad2d02e80de539f3c1b3e5b6e30462fef05c/tapeimgr/tapeimgr.py#L192

Change to sth like (for 10-char filename + extension):

        ofName = prefix + str(session).zfill(10 - len(prefix)) + '.' + extension
@bitsgalore
Copy link
Member Author

Done.

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

1 participant