Initialise to None

This commit is contained in:
Thomas Wade 2018-09-18 17:45:01 +09:30
parent 0846626460
commit b8a6a431bf

View File

@ -40,12 +40,12 @@ print('WebDriver initialised')
# User class, holds all the data we will be collecting from user pages # User class, holds all the data we will be collecting from user pages
# It's being used here as a more structured alternative to a dictionary # It's being used here as a more structured alternative to a dictionary
class User: class User:
url_username = '' url_username = None
username = '' username = None
track_count = '' track_count = None
like_count = '' like_count = None
following_count = '' following_count = None
follower_count = '' follower_count = None
user_dict = {} user_dict = {}
users_to_process = ['thomotron', 'lacheque', 'slynk', 'bossfightswe'] users_to_process = ['thomotron', 'lacheque', 'slynk', 'bossfightswe']