fix: 移除_get_external_factors重构残留的except块(语法错误)

This commit is contained in:
hmo
2026-08-12 00:13:27 +08:00
parent 09b8eaa2cc
commit 41847c8d3a
-4
View File
@@ -756,10 +756,6 @@ def _get_external_factors(code, dt):
result['news3'] = hi - lo
_EXTERNAL_CACHE[key] = result
return result
except Exception:
pass
_EXTERNAL_CACHE[key] = result
return result
def is_hk_code(code):
return len(code) == 5 and code.startswith('0')