Show More
@@ -30,7 +30,7 b' def osx_clipboard_get():' | |||
|
30 | 30 | stdout=subprocess.PIPE) |
|
31 | 31 | text, stderr = p.communicate() |
|
32 | 32 | # Text comes in with old Mac \r line endings. Change them to \n. |
|
33 | text = text.replace('\r', '\n') | |
|
33 | text = text.replace(b'\r', b'\n') | |
|
34 | 34 | return text |
|
35 | 35 | |
|
36 | 36 | def tkinter_clipboard_get(): |
General Comments 0
You need to be logged in to leave comments.
Login now