Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	Scweet/utils.py
  • Loading branch information
aitjeddiyassine committed Jan 3, 2022
2 parents 2645405 + 93c401c commit 565d32b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scweet/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ def get_users_following(users, env, verbose=1, headless=True, wait=2, limit=floa
if file_path == None:
file_path = 'outputs/' + str(users[0]) + '_' + str(users[-1]) + '_' + 'following.json'
else:
file_path = file_path + str(users[0]) + '_' + str(users[-1]) + '_' + 'followers.json'
file_path = file_path + str(users[0]) + '_' + str(users[-1]) + '_' + 'following.json'
with open(file_path, 'w') as f:
json.dump(following, f)
print(f"file saved in {file_path}")
return following

def hasNumbers(inputString):
return any(char.isdigit() for char in inputString)
return any(char.isdigit() for char in inputString)

0 comments on commit 565d32b

Please sign in to comment.