diff --git a/src/searchor/__init__.py b/src/searchor/__init__.py index b8bd4de..ca0ad1d 100644 --- a/src/searchor/__init__.py +++ b/src/searchor/__init__.py @@ -2,7 +2,7 @@ from webbrowser import open_new_tab from enum import Enum, unique from aenum import extend_enum -import pyperclip +from pyperclip import copy @unique @@ -123,6 +123,6 @@ def search(self, query, open_web=False, copy_url=False, additional_queries: dict open_new_tab(url) if copy_url is True: - pyperclip.copy(url) + copy(url) return url