Update ccnews_split.py
Browse files- ccnews_split.py +1 -1
ccnews_split.py
CHANGED
@@ -28,7 +28,7 @@ def custom_iter_archive(path_or_buf):
|
|
28 |
def _iter_archive(f):
|
29 |
stream = tarfile.open(fileobj=f, mode="r|*")
|
30 |
print(stream)
|
31 |
-
print(len(stream.
|
32 |
for tarinfo in stream:
|
33 |
file_path = tarinfo.name
|
34 |
if not tarinfo.isreg():
|
|
|
28 |
def _iter_archive(f):
|
29 |
stream = tarfile.open(fileobj=f, mode="r|*")
|
30 |
print(stream)
|
31 |
+
print(len(stream.getnames()))
|
32 |
for tarinfo in stream:
|
33 |
file_path = tarinfo.name
|
34 |
if not tarinfo.isreg():
|