diff options
author | Lint Action <[email protected]> | 2022-02-09 07:34:29 +0000 |
---|---|---|
committer | Lint Action <[email protected]> | 2022-02-09 07:34:29 +0000 |
commit | 09ecca4a77a02a0f6b4c4e7928e9be48a12fe28a (patch) | |
tree | 5da1629a1edce40f889b69122ff3f02597dcdc34 /ATRI/plugins/saucenao | |
parent | c8994250f49e747e666367ecec1fec60e9e2b376 (diff) | |
download | ATRI-09ecca4a77a02a0f6b4c4e7928e9be48a12fe28a.tar.gz ATRI-09ecca4a77a02a0f6b4c4e7928e9be48a12fe28a.tar.bz2 ATRI-09ecca4a77a02a0f6b4c4e7928e9be48a12fe28a.zip |
:rotating_light: 自动进行代码格式化
Diffstat (limited to 'ATRI/plugins/saucenao')
-rw-r--r-- | ATRI/plugins/saucenao/data_source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/saucenao/data_source.py b/ATRI/plugins/saucenao/data_source.py index 2510cb0..80b6b52 100644 --- a/ATRI/plugins/saucenao/data_source.py +++ b/ATRI/plugins/saucenao/data_source.py @@ -60,7 +60,7 @@ class SaouceNao(Service): _result["index_name"] = data["header"]["index_name"] _result["url"] = choice(data["data"].get("ext_urls", ["None"])) r.append(_result) - + if not r: return "没有相似的结果呢..." |