fix: ClawHub publish (acceptLicenseTerms), add LICENSE, fix score display bug, remove unused var
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user