Bläddra i källkod

[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 1 år sedan
förälder
incheckning
b54d5807f3
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      graph/component/duckduckgo.py

+ 2
- 2
graph/component/duckduckgo.py Visa fil

@@ -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, ":::::::::::::::::::::::::::::::::")

Laddar…
Avbryt
Spara