File tree 3 files changed +4
-2
lines changed
scripts/standalone/dedicate_round_tweets
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
.env
2
+ rhc-set-env.sh
2
3
3
4
# Byte-compiled / optimized / DLL files
4
5
__pycache__ /
Original file line number Diff line number Diff line change 1
1
import threading
2
+ import urllib
2
3
from core .utils .logging import debug
3
4
4
5
import standalone_runner
@@ -18,5 +19,5 @@ def run(self):
18
19
if __name__ == '__main__' :
19
20
t = TimelineRelated ()
20
21
s = Standalone ()
21
- # t.start()
22
+ t .start ()
22
23
s .start ()
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def get_tweets_count(self):
34
34
if settings .DEBUG :
35
35
return random .randint (0 , 10000 )
36
36
log ("Getting tweets" )
37
- data = self .twitter .twitter .show_user ( screen_name = settings . TWIZHOOSH_USERNAME )
37
+ data = self .twitter .twitter .verify_credentials ( )
38
38
return data ['statuses_count' ]
39
39
40
40
def is_round (self , num ):
You can’t perform that action at this time.
0 commit comments