Skip to content

Commit

Permalink
Write docstring for setup_dirs() (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
nagracks authored and TomasTomecek committed Apr 10, 2017
1 parent fffb5bc commit c5ccc33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sen/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def wrapper(*args, **kwargs):


def setup_dirs():
"""Make required directories to hold logfile.
:returns: str
"""
try:
top_dir = os.path.abspath(os.path.expanduser(os.environ["XDG_CACHE_HOME"]))
except KeyError:
Expand Down

0 comments on commit c5ccc33

Please sign in to comment.