tAdded DragonFly to platform checks in appdata_dir() for mac. - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit c03705b2a5169766246c591edad8a7691fb3e3cb
DIR parent b0b24ae9ddcdc0966d0640a973c694d3707a3a90
HTML Author: Amir Taaki <genjix@riseup.net>
Date: Sun, 8 Jul 2012 10:45:04 +0100
Added DragonFly to platform checks in appdata_dir() for mac.
Diffstat:
M lib/util.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
DIR diff --git a/lib/util.py b/lib/util.py
t@@ -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")