Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 19309ea

Browse files
committed
3.1.0
1. Fix bugs in webtools.py 2. Add items to the ignore list.
1 parent 2d32561 commit 19309ea

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

‎.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ lib/*
1313
unsuccessfulbuild
1414
/MpegCoder/x64/
1515

16+
# Compressed files
17+
*.tar.xz
18+
*.tar.gz
19+
*.tar.bz2
20+
*.7z
21+
*.zip
22+
*.rar
23+
1624
# Prerequisites
1725
*.d
1826

‎MpegCoder/MpegCoder.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
</PropertyGroup>
7878
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
7979
<LinkIncremental>true</LinkIncremental>
80-
<IncludePath>C:\Users\yjin4\Anaconda3\envs\torch19\include;C:\Users\yjin4\Anaconda3\envs\torch19\lib\site-packages\numpy\core\include;..\include;$(IncludePath)</IncludePath>
81-
<LibraryPath>C:\Users\yjin4\Anaconda3\envs\torch19\libs;C:\Users\yjin4\Anaconda3\envs\torch19\lib\site-packages\numpy\core\lib;..\lib;$(LibraryPath)</LibraryPath>
80+
<IncludePath>C:\Users\yjin4\.conda\envs\py39\include;C:\Users\yjin4\.conda\envs\py39\lib\site-packages\numpy\core\include;..\include;$(IncludePath)</IncludePath>
81+
<LibraryPath>C:\Users\yjin4\.conda\envs\py39\libs;C:\Users\yjin4\.conda\envs\py39\lib\site-packages\numpy\core\lib;..\lib;$(LibraryPath)</LibraryPath>
8282
</PropertyGroup>
8383
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
8484
<LinkIncremental>false</LinkIncremental>
@@ -87,8 +87,8 @@
8787
</PropertyGroup>
8888
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
8989
<LinkIncremental>false</LinkIncremental>
90-
<IncludePath>C:\Users\yjin4\Anaconda3\envs\torch19\include;C:\Users\yjin4\Anaconda3\envs\torch19\lib\site-packages\numpy\core\include;..\include;$(IncludePath)</IncludePath>
91-
<LibraryPath>C:\Users\yjin4\Anaconda3\envs\torch19\libs;C:\Users\yjin4\Anaconda3\envs\torch19\lib\site-packages\numpy\core\lib;..\lib;$(LibraryPath)</LibraryPath>
90+
<IncludePath>C:\Users\yjin4\.conda\envs\py39\include;C:\Users\yjin4\.conda\envs\py39\lib\site-packages\numpy\core\include;..\include;$(IncludePath)</IncludePath>
91+
<LibraryPath>C:\Users\yjin4\.conda\envs\py39\libs;C:\Users\yjin4\.conda\envs\py39\lib\site-packages\numpy\core\lib;..\lib;$(LibraryPath)</LibraryPath>
9292
</PropertyGroup>
9393
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
9494
<ClCompile>

‎webtools.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'''
44
################################################################
55
# WebTools
6-
# @ PyCodes for Shell Project
6+
# @ FFMpeg encoder and decoder.
77
# Yuchen Jin @ cainmagi@gmail.com
88
# Requirements: (Pay attention to version)
99
# python 3.3+
@@ -23,13 +23,14 @@
2323
import urllib3
2424

2525
try:
26-
from tqdm.tqdm import wrapattr
26+
from tqdm import tqdm
27+
wrapattr=tqdm.wrapattr
2728
except ImportError:
2829
import contextlib
2930

3031
@contextlib.contextmanager
3132
def wrapattr(req, mode=None, total=0, desc=None):
32-
return req
33+
yield req
3334

3435
__all__ = [
3536
'get_token',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /