Welcome TTT to nijiEN! + minor changes
This commit is contained in:
1 parent
3ad7e42e73
commit
f2cbd2512e
4 files changed
+261
-3
No files matched your search
+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