Skip to content

Commit

Permalink
Update plugin-adapter.py, function gethistory
Browse files Browse the repository at this point in the history
remove this as it break result type expected by xlite-daemon,
daemon expect list of json, this if case return a json.
  • Loading branch information
tryiou authored Oct 13, 2023
1 parent 74be3b9 commit 7934a4e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugin-adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,6 @@ async def gethistory(params):

return json.dumps([])

if len(res) == 1:
res = res[0]
# DEBUG! PURGE EMPTY LISTS IN LIST?
res = [e for e in res if e]

Expand Down

0 comments on commit 7934a4e

Please sign in to comment.