Fix bug in providing access token as config where it isn't being recognised as array
This commit is contained in:
parent
5a3db443cb
commit
46a5be98df
1 changed files with 3 additions and 0 deletions
|
@ -851,6 +851,9 @@ if __name__ == "__main__":
|
|||
|
||||
all_known_users = OrderedSet(list(known_followings) + list(recently_checked_users))
|
||||
|
||||
if(isinstance(arguments.access_token, str)):
|
||||
setattr(arguments, 'access_token', [arguments.access_token])
|
||||
|
||||
for token in arguments.access_token:
|
||||
|
||||
if arguments.reply_interval_in_hours > 0:
|
||||
|
|
Loading…
Reference in a new issue