Movatterモバイル変換


[0]ホーム

URL:


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

Commitf02c28e

Browse files
committed
get_description_str fix
1 parenteb4b6f8 commitf02c28e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎translator/app/translator/tools/utils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_license_str(license_: str) -> str:
2929

3030

3131
defget_description_str(description:str)->str:
32-
ifnotdescription.endswith("."):
32+
ifdescription!=""andnotdescription.endswith("."):
3333
description+="."
3434
returndescription
3535

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp