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

CLI paste info shows incorrect data length #36

Closed
tucked opened this issue Feb 20, 2025 · 0 comments · Fixed by #37
Closed

CLI paste info shows incorrect data length #36

tucked opened this issue Feb 20, 2025 · 0 comments · Fixed by #37

Comments

@tucked
Copy link
Owner

tucked commented Feb 20, 2025

+ [("data", paste["data"] if show_data else f"({len(value)} bytes)")]

value is the hashid (i.e. always length 40). We want len(paste["data"]).

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 a pull request may close this issue.

1 participant