Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxtyson committed Mar 8, 2021
1 parent f069c59 commit c6448b9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@

# 更新日志

## `v2.6.3`

- 修复文件后缀非小写导致的误判问题[#92](https://github.com/rachpt/lanzou-gui/issues/92)

## `v2.6.2`

- 支持登录时自动读取浏览器 Cookie[#59](https://github.com/zaxtyson/LanZouCloud-CMD/issues/59)
Expand Down
2 changes: 1 addition & 1 deletion lanzou/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from lanzou.api.core import LanZouCloud

version = '2.6.1'
version = '2.6.2'

__all__ = ['utils', 'types', 'models', 'LanZouCloud', 'version']
2 changes: 1 addition & 1 deletion lanzou/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def is_name_valid(filename: str) -> bool:
'xmind', 'enc', 'bds', 'bdi', 'ssf', 'it', 'gz'
)

return filename.split('.')[-1] in valid_suffix_list
return filename.split('.')[-1].lower() in valid_suffix_list


def is_file_url(share_url: str) -> bool:
Expand Down
2 changes: 1 addition & 1 deletion lanzou/cmder/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from lanzou.cmder.config import config

version = '2.6.2'
version = '2.6.3'

__all__ = ['cmder', 'utils', 'version', 'config']

0 comments on commit c6448b9

Please sign in to comment.