Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
de982c2f
authored
Feb 05, 2013
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
store-server: Removed divide by 1024
parent
c96bf194
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
miscellaneous/store-server/CloudStore.py
+1
-1
No files found.
miscellaneous/store-server/CloudStore.py
View file @
de982c2f
...
...
@@ -359,7 +359,7 @@ def file_dict(path, home):
is_dir
=
'F'
return
{
'NAME'
:
basename
,
'TYPE'
:
is_dir
,
'SIZE'
:
os
.
path
.
getsize
(
path
)
/
1024
,
'SIZE'
:
os
.
path
.
getsize
(
path
),
'MTIME'
:
os
.
path
.
getmtime
(
path
),
'DIR'
:
os
.
path
.
relpath
(
os
.
path
.
dirname
(
path
),
home
)}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment