mirror of
https://git.wownero.com/wowlet/wowlet-backend.git
synced 2024-08-15 01:03:13 +00:00
Introduce websocket cmd for SuchWow so that it can dynamically add/update new images and change FeatherTask to WowletTask
This commit is contained in:
parent
136e7909fa
commit
891baaff71
10 changed files with 23 additions and 22 deletions
|
@ -5,10 +5,10 @@
|
|||
import html
|
||||
import settings
|
||||
from wowlet_backend.utils import httpget
|
||||
from wowlet_backend.tasks import FeatherTask
|
||||
from wowlet_backend.tasks import WowletTask
|
||||
|
||||
|
||||
class RedditTask(FeatherTask):
|
||||
class RedditTask(WowletTask):
|
||||
def __init__(self, interval: int = 900):
|
||||
from wowlet_backend.factory import app
|
||||
super(RedditTask, self).__init__(interval)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue