rm qt icons file
so we don't need pyrcc5, which is not deterministic, and so we don't need the submodule for the icons based on electrumsv/electrumsv@bf8802c2ea
This commit is contained in:
@@ -488,6 +488,15 @@ def user_dir():
|
||||
#raise Exception("No home directory found in environment variables.")
|
||||
return
|
||||
|
||||
|
||||
def resource_path(*parts):
|
||||
return os.path.join(base_dir, *parts)
|
||||
|
||||
|
||||
# absolute path to project root dir when running from source
|
||||
base_dir = os.path.split(os.path.dirname(os.path.realpath(__file__)))[0]
|
||||
|
||||
|
||||
def is_valid_email(s):
|
||||
regexp = r"[^@]+@[^@]+\.[^@]+"
|
||||
return re.match(regexp, s) is not None
|
||||
|
||||
Reference in New Issue
Block a user