Procházet zdrojové kódy

[Bug]: IndentationError: unindent does not match any outer indentatio… (#1579)

### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

[Bug]: IndentationError: unindent does not match any outer indentation
level #1569
tags/v0.9.0
narendra před 1 rokem
rodič
revize
b54d5807f3
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      graph/component/duckduckgo.py

+ 2
- 2
graph/component/duckduckgo.py Zobrazit soubor

@@ -57,8 +57,8 @@ class DuckDuckGo(ComponentBase, ABC):
duck_res = [{"content": '<a href="' + i["url"] + '">' + i["title"] + '</a> ' + i["body"]} for i in
ddgs.news(ans, max_results=self._param.top_n)]

if not duck_res:
return DuckDuckGo.be_output("")
if not duck_res:
return DuckDuckGo.be_output("")

df = pd.DataFrame(duck_res)
if DEBUG: print(df, ":::::::::::::::::::::::::::::::::")

Načítá se…
Zrušit
Uložit