Skip to content

Commit ce465b1

Browse files
authored
Fix chn_stock check issue.
1 parent 94b97ee commit ce465b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stock-tracker.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ It defaults to a comma."
574574
(stock-tracker--refresh-async chn-stocks us-stocks)
575575
;; synchronously
576576
(with-temp-message "Fetching stock data ..."
577-
(when chn-stocks-string
577+
(unless (string= chn-stocks-string "")
578578
(push
579579
(stock-tracker--format-response (stock-tracker--request-synchronously chn-stocks-string chn-symbol) chn-symbol)
580580
all-collected-stocks-info))

0 commit comments

Comments
 (0)