Skip to content

Fix pyperclip crash#3

Open
danielp96 wants to merge 1 commit intotwilfong:masterfrom
danielp96:patch-1
Open

Fix pyperclip crash#3
danielp96 wants to merge 1 commit intotwilfong:masterfrom
danielp96:patch-1

Conversation

@danielp96
Copy link
Copy Markdown

Decode token from bytes to UTF-8 before printing/copying to clipboard.

This allows printing without the b'TOKEN' syntax of python and pyperclip to copy string to clipboard (raw bytes not supported).

Fixes #2

Decode token from bytes to UTF-8 before printing/copying to clipboard.

This allows printing without the b'TOKEN' syntax of python and pyperclip to copy string to clipboard (raw bytes not supported).

Fixes twilfong#2
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.

Crash when generating token

1 participant