mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
fix description error. GiB not GB
This commit is contained in:
parent
6cbee573b3
commit
966371b610
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ def getDirectorySize(directory):
|
|||
for file in files:
|
||||
filename = os.path.join(path, file)
|
||||
dir_size += os.path.getsize(filename)
|
||||
dir_size = dir_size / (1024.0 * 1024.0 * 1024.0) # convert to GB
|
||||
dir_size = dir_size / (1024.0 * 1024.0 * 1024.0) # convert to GiB
|
||||
return dir_size
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue