Skip to content

Commit

Permalink
Fix for home dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsdotpm committed Feb 16, 2016
1 parent 5281a25 commit 34ba5b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions storjnode/network/bandwidth/speed_test_dot_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,10 @@ def speedtest():


def speed_test_cached():
# Make home if it doesn't exist.
if not os.path.exists(STORJ_HOME):
os.makedirs(STORJ_HOME)

# Find cache file.
cache_path = os.path.join(STORJ_HOME, "speed_test")

Expand Down

0 comments on commit 34ba5b8

Please sign in to comment.