|
@@ -51,7 +51,7 @@ class GongzhonghaoAuthor1:
|
|
|
def create_user(cls, log_type, crawler, user_sheet, i, env):
|
|
|
user_name = user_sheet[i][0]
|
|
|
wechat_name = user_sheet[i][2]
|
|
|
- if wechat_name is None:
|
|
|
+ if wechat_name is None or wechat_name.strip() == "" or wechat_name.replace(" ", "") == "":
|
|
|
wechat_name = user_name
|
|
|
Common.logger(log_type, crawler).info(f"befor_wechat_name:{type(wechat_name)}, {wechat_name}")
|
|
|
our_uid = user_sheet[i][5]
|