Commit ef42c3e4 by Guba Sándor

toragedriver: fixed get_free_space path

parent c37bd1bd
......@@ -48,5 +48,5 @@ def get(json_data):
@celery.task()
def get_free_space(path):
''' Return free disk space avaliable at path in bytes.'''
s = statvfs()
s = statvfs(path)
return s.f_bavail * s.f_frsize
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment