From 94cae804686dcfe279b26125c76ed8ec4b8479a3 Mon Sep 17 00:00:00 2001 From: webbrain-one <295484252+webbrain-one@users.noreply.github.com> Date: Thu, 6 Aug 2026 10:42:34 +0300 Subject: [PATCH] Fix Torrent.Completed() to call Complete() method t.Complete is a function returning ReadOnlyFlag, not a field. Add missing parentheses to prevent a compile error. --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index f55f2b3..7b5bc65 100644 --- a/torrent.go +++ b/torrent.go @@ -123,7 +123,7 @@ func (t *Torrent) DownloadLog() { // Completed return true if torrent file download is completed func (t *Torrent) Completed() bool { - return t.Complete.Bool() + return t.Complete().Bool() } // GetStats returns torrent file state