git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b0b24ae
)
Added DragonFly to platform checks in appdata_dir() for mac.
author
Amir Taaki
<genjix@riseup.net>
Sun, 8 Jul 2012 09:45:04 +0000 (10:45 +0100)
committer
Amir Taaki
<genjix@riseup.net>
Sun, 8 Jul 2012 09:45:04 +0000 (10:45 +0100)
lib/util.py
patch
|
blob
|
history
diff --git
a/lib/util.py
b/lib/util.py
index
caf3052
..
1809882
100644
(file)
--- 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")