Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
midays committed May 20, 2024
1 parent 6ea7e8f commit 218f43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_screen_size():
def get_clipboard_text(split=False):
"""Returns the text currently copied in the clipboard."""
try:
pyperclip.set_clipboard('xclip')
pyperclip.set_clipboard("xclip")
text = pyperclip.paste()
text = text.split("\n") if split else pyperclip.paste()
return text
Expand Down

0 comments on commit 218f43e

Please sign in to comment.