Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
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):
...
@@ -359,7 +359,7 @@ def file_dict(path, home):
is_dir
=
'F'
is_dir
=
'F'
return
{
'NAME'
:
basename
,
return
{
'NAME'
:
basename
,
'TYPE'
:
is_dir
,
'TYPE'
:
is_dir
,
'SIZE'
:
os
.
path
.
getsize
(
path
)
/
1024
,
'SIZE'
:
os
.
path
.
getsize
(
path
),
'MTIME'
:
os
.
path
.
getmtime
(
path
),
'MTIME'
:
os
.
path
.
getmtime
(
path
),
'DIR'
:
os
.
path
.
relpath
(
os
.
path
.
dirname
(
path
),
home
)}
'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