Merge pull request #8846 from SomberNight/202401_gui_text_vendor_pyperclip
dependencies: vendor "pyperclip" pkg, used by text gui
This commit is contained in:
@@ -8,7 +8,10 @@ import getpass
|
||||
from typing import TYPE_CHECKING, Optional
|
||||
|
||||
# 3rd-party dependency:
|
||||
import pyperclip
|
||||
try:
|
||||
import pyperclip
|
||||
except ImportError: # only use vendored lib as fallback, to allow Linux distros to bring their own
|
||||
from electrum._vendor import pyperclip
|
||||
|
||||
import electrum
|
||||
from electrum.gui import BaseElectrumGui
|
||||
|
||||
Reference in New Issue
Block a user