Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.0.1.1 pw1 24/01/05 BUG修复与配置文件文档更新 #18

Merged
merged 39 commits into from
Jan 4, 2024

Conversation

Copy link

@code-review-doctor code-review-doctor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some food for thought. View full project report here.

manager.update_config_with_args("tiktok", cookie=cookie_value)
except PermissionError:
message = _("请关闭所有已打开的浏览器重试, 并且你有适当的权限访问浏览器 !")
logger.error(message)
click.echo(message)
ctx.abort()
except Exception as e:
message = "自动获取Cookie失败: {0}".format(str(e))
message = _("自动获取Cookie失败: {0}".format(str(e)))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

f-string is easier to read, write, and less computationally expensive than legacy string formatting. More details.

@Johnserf-Seed Johnserf-Seed merged commit 7232b90 into main Jan 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant