Welcome TTT to nijiEN! + minor changes
This commit is contained in:
+7
-2
@@ -58,8 +58,13 @@ def init_data():
|
||||
# Initialize talent account lists
|
||||
talent_lists.init()
|
||||
|
||||
# Initialize queue files system
|
||||
ttq.TalentTweetQueue()
|
||||
if PROGRAM_ARGS.mode:
|
||||
mode = PROGRAM_ARGS.mode.lower()
|
||||
if mode != 'cmd':
|
||||
# Initialize queue files system
|
||||
ttq.TalentTweetQueue()
|
||||
else:
|
||||
ttq.TalentTweetQueue()
|
||||
|
||||
def main():
|
||||
global PROGRAM_ARGS
|
||||
|
||||
+1
-1
@@ -100,7 +100,7 @@ class Scraper:
|
||||
print("Unhandled exception occurred, trying again as private...")
|
||||
return self.get_tweet(id, True)
|
||||
else:
|
||||
print("Unhandled exception occurred, tweet is probably unavailable")
|
||||
print(f"Unhandled exception occurred, tweet {id} is probably unavailable")
|
||||
print(e)
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user