Skip to content

Commit 79380c8

Browse files
author
Soheil Behnezhad
committed
Increase standalone scripts repeat time chunks
1 parent a8d2371 commit 79380c8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

core/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
]
2929

3030
# Stand-Alone repeat time chunks in seconds, every script may override number of chunks
31-
STAND_ALONE_REPEAT_TIME_CHUNKS = 1
31+
STAND_ALONE_REPEAT_TIME_CHUNKS = 10

scripts/standalone/call_sherrgoo/call_sherrgoo.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
class CallSherrgoo(TweetPerDayBase):
7-
expected_tweet_per_day = 2
7+
expected_tweet_per_day = 1
88

99
def update(self):
1010
account_name = "@SherrGoo"
@@ -16,6 +16,3 @@ def update(self):
1616
'شرگو...',
1717
]
1818
self.twitter.tweet(status=random.choice(calls))
19-
20-
def on_called(self):
21-
super(CallSherrgoo, self).on_called()

0 commit comments

Comments
 (0)