From 8ba1ce3bd12a74099c4287d2bafbabcc73c648b3 Mon Sep 17 00:00:00 2001
From: Radek Czajka <rczajka@rczajka.pl>
Date: Fri, 6 Oct 2023 15:06:22 +0200
Subject: [PATCH] fix

---
 src/depot/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/depot/models.py b/src/depot/models.py
index 15c0d3a8..0f26a19f 100644
--- a/src/depot/models.py
+++ b/src/depot/models.py
@@ -172,7 +172,7 @@ class SiteBookPublish(models.Model):
                 self.sitechunkpublish_set.order_by('change__chunk__number')
             ]
 
-            self.site.publish(self, changes=changes)
+            self.site_book.site.publish(self, changes=changes)
 
         except Exception:
             self.status = 110
-- 
2.20.1