summaryrefslogtreecommitdiff
path: root/web/forums.py
diff options
context:
space:
mode:
Diffstat (limited to 'web/forums.py')
-rwxr-xr-xweb/forums.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/forums.py b/web/forums.py
index ad733b8..d9d1c71 100755
--- a/web/forums.py
+++ b/web/forums.py
@@ -139,9 +139,9 @@ r=requests.post("https://forums.themanaworld.org/posting.php?mode=reply&f=%d&sid
#################################################################################
## Logout
-for k in jar.keys():
- if k.endswith("_sid"):
- sid = r.cookies[k]
+#for k in jar.keys():
+# if k.endswith("_sid"):
+# sid = jar.cookies[k]
r=requests.get("https://forums.themanaworld.org/ucp.php?mode=logout&sid=%s" % (sid), headers={"Origin": "https://forums.themanaworld.org", "Referer": "https://forums.themanaworld.org/", "User-Agent": fakeUserAgent}, cookies=jar)