summary refs log tree commit diff stats
path: root/ganarchy/core.py
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-12-24 22:32:49 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-12-24 22:32:49 -0300
commit454c3337b5fcd2f98b40dac0714d303cdd9fc1f6 (patch)
treefdf53bb50b119132b630e287bcc866e25d6b18f8 /ganarchy/core.py
parentadcef364d90c60b2fcb587257daf40a7e8446ddf (diff)
Add Fedi-To integration
Diffstat (limited to 'ganarchy/core.py')
-rw-r--r--ganarchy/core.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ganarchy/core.py b/ganarchy/core.py
index d162dff..d882a57 100644
--- a/ganarchy/core.py
+++ b/ganarchy/core.py
@@ -275,8 +275,16 @@ class GAnarchy:
         except LookupError:
             title = "GAnarchy on " + parse.urlparse(base_url).hostname
 
+        try:
+            fedito = self._config.get_property_value(
+                ganarchy.data.DataProperty.INSTANCE_FEDITO
+            )
+        except LookupError:
+            fedito = 0
+
         self.title = title
         self.base_url = base_url
+        self.fedito = fedito
 
     def load_projects(self):
         """Loads the projects into this GAnarchy instance.