Spaces:
Running
Running
Update utils/handle_file.py
Browse files- utils/handle_file.py +2 -2
utils/handle_file.py
CHANGED
@@ -8,8 +8,8 @@ class HandleFiles:
|
|
8 |
def handle_files(self,files,allowed_chars):
|
9 |
try:
|
10 |
result = {
|
11 |
-
"files":
|
12 |
-
"total_chars":
|
13 |
}
|
14 |
content,status_code = file_reader.calc_chars(files,allowed_chars)
|
15 |
if(status_code!=200):
|
|
|
8 |
def handle_files(self,files,allowed_chars):
|
9 |
try:
|
10 |
result = {
|
11 |
+
"files": {},
|
12 |
+
"total_chars": 0
|
13 |
}
|
14 |
content,status_code = file_reader.calc_chars(files,allowed_chars)
|
15 |
if(status_code!=200):
|