commit 1eeed7fb27146cb622e3f8090302d4dbba33f4f9
parent b95be7e7a4f485916662b030ab3142192381cc0c
Author: Jimbo77 <onlineregular@gmail.com>
Date: Sun, 19 Aug 2012 15:27:08 -0700
Created appdata_dir() docstring
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/util.py b/lib/util.py
@@ -3,13 +3,14 @@ import platform
import sys
def print_error(*args):
- '''Print out the arguments to standard error'''
+ '''Print out the arguments to standard error.'''
for item in args:
sys.stderr.write(str(item))
sys.stderr.write("\n")
sys.stderr.flush()
def appdata_dir():
+ '''Find the path to the application data directory; add an electrum folder and return path.'''
if platform.system() == "Windows":
return os.path.join(os.environ["APPDATA"], "Electrum")
elif platform.system() == "Linux":