Skip to content

Commit 26008d4

Browse files
committed
snall fix progress bar
1 parent 0a6c7dd commit 26008d4

4 files changed

Lines changed: 3 additions & 6 deletions

File tree

jee_data_base/core/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
data_base_path = loc.parent
77
cache_path = data_base_path/"cache"
88

9-
print(data_base_path)
10-
print(cache_path)
11-
129
from .data_base import DataBase
1310
from .chapter import Chapter
1411
from .question import Question

jee_data_base/core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def download_cache(data_name:str)->None:
3737

3838
file_path = cache_path/i
3939
with open(file_path, 'wb') as file, tqdm(
40-
total=total_size, unit='B', unit_scale=True, desc=str(file_path)
40+
total=total_size, unit='B', unit_scale=True, desc=str(file_path),ascii=True,miniters=1,disable=False
4141
) as progress_bar:
4242
for data in response.iter_content(block_size):
4343
file.write(data)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "jee_data_base"
7-
version = "0.1.2.post7"
7+
version = "0.1.2.post8"
88
description = "JEE Mains PYQS data base"
99
authors = [{ name="HostServer001", email="[email protected]" }]
1010
readme = "README.md"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="jee_data_base",
5-
version="0.1.2.post7",
5+
version="0.1.2.post8",
66
packages=find_packages(),
77
install_requires=[
88
"hdbscan",

0 commit comments

Comments
 (0)