From: Amir Taaki Date: Sun, 8 Jul 2012 09:45:04 +0000 (+0100) Subject: Added DragonFly to platform checks in appdata_dir() for mac. X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=c03705b2a5169766246c591edad8a7691fb3e3cb;p=electrum-nvc.git Added DragonFly to platform checks in appdata_dir() for mac. --- diff --git a/lib/util.py b/lib/util.py index caf3052..1809882 100644 --- a/lib/util.py +++ b/lib/util.py @@ -14,7 +14,8 @@ def appdata_dir(): return os.path.join(os.environ["APPDATA"], "Electrum") elif platform.system() == "Linux": return os.path.join(sys.prefix, "share", "electrum") - elif platform.system() == "Darwin": + elif (platform.system() == "Darwin" or + platform.system() == "DragonFly"): return "/Library/Application Support/Electrum" else: raise Exception("Unknown system")