We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2245533 commit 6537e01Copy full SHA for 6537e01
lib/helper.py
@@ -24,19 +24,10 @@ def download(url, headers=None):
24
logging.warn('[!] Critical Error - Cannot connect to site')
25
sleep(5)
26
logging.warn('[!] Retrying...')
27
- response = self.download(url)
+ response = download(url)
28
return response
29
30
31
-def record(text):
32
- '''
33
- record(text) : Records text to the tweet_history file
34
-
35
36
- with open(settings.tweet_history, 'a') as history:
37
- history.write(strftime('[%b %d, %Y %I:%M:%S]') + text + '\n')
38
39
40
def log(text):
41
'''
42
log(text): Logs message to both STDOUT and to .output_log file
0 commit comments