Skip to content

Commit

Permalink
adapter_forumquestionablequestingcom:Switch to BaseXenForo2ForumAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmXinu committed May 7, 2024
1 parent 4170cfd commit 5b443d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fanficfare/adapters/adapter_forumquestionablequestingcom.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright 2018 FanFicFare team
# Copyright 2024 FanFicFare team
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -18,15 +18,15 @@
from __future__ import absolute_import
import re

from .base_xenforoforum_adapter import BaseXenForoForumAdapter
from .base_xenforo2forum_adapter import BaseXenForo2ForumAdapter

def getClass():
return QuestionablequestingComAdapter

class QuestionablequestingComAdapter(BaseXenForoForumAdapter):
class QuestionablequestingComAdapter(BaseXenForo2ForumAdapter):

def __init__(self, config, url):
BaseXenForoForumAdapter.__init__(self, config, url)
BaseXenForo2ForumAdapter.__init__(self, config, url)

# Each adapter needs to have a unique site abbreviation.
self.story.setMetadata('siteabbrev','qq')
Expand Down

0 comments on commit 5b443d4

Please sign in to comment.