fix: ClawHub publish (acceptLicenseTerms), add LICENSE, fix score display bug, remove unused var

This commit is contained in:
jackwener
2026-03-09 20:32:45 +08:00
parent 94e21fba9a
commit 59b5df7f71
6 changed files with 260 additions and 10 deletions

View File

@@ -22,7 +22,6 @@ logger = logging.getLogger(__name__)
# Shared curl_cffi session — impersonates Chrome 133 TLS/JA3/HTTP2 fingerprint
_cffi_session = None # type: Optional[Any] # lazy init
_cffi_proxy = None # type: Optional[str]
FALLBACK_QUERY_IDS = {

View File

@@ -79,7 +79,7 @@ def print_tweet_table(tweets, console=None, title=None):
)
# Score
score_str = "%.1f" % tweet.score if tweet.score else "-"
score_str = "%.1f" % tweet.score if tweet.score is not None else "-"
table.add_row(str(i + 1), author_text, text, stats, score_str)