aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2017-08-07 00:08:01 +0200
committerThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2017-08-07 00:08:01 +0200
commite514ddd67d01c6cbb3a52101a36b6ce95aaba5af (patch)
treedeb9812e1af4e270fd5dbce707e23ad7a22bf1d6
parent8d7655c9456d2efcd6f97e2173163a188a0750d7 (diff)
Change requested by the administrator.
-rwxr-xr-x[-rw-r--r--]Utilities/AccountManager.py0
-rwxr-xr-xUtilities/CacheManager.py6
2 files changed, 6 insertions, 0 deletions
diff --git a/Utilities/AccountManager.py b/Utilities/AccountManager.py
index d82c7f8..d82c7f8 100644..100755
--- a/Utilities/AccountManager.py
+++ b/Utilities/AccountManager.py
diff --git a/Utilities/CacheManager.py b/Utilities/CacheManager.py
index 7ea5fa2..87f7650 100755
--- a/Utilities/CacheManager.py
+++ b/Utilities/CacheManager.py
@@ -48,6 +48,12 @@ class CacheManager:
makeprivate(self.__path)
def __refresh_forum(self, forum):
+ # Hardcoded forums that we don't want to post about.
+ # See: http://www.silicium.org/forum/viewtopic.php?p=503340#p503340
+ if forum.id in [24, 62]:
+ return
+
+ # Gather metadata.
try:
title = forum.get_title()
except Silicium.NotEnoughPermissionsError: