pookz@stme commited on
Commit
eb6573b
Β·
1 Parent(s): 7f23d5b

fix tencent video schedule select

Browse files
Files changed (1) hide show
  1. tencent_uploader/main.py +2 -1
tencent_uploader/main.py CHANGED
@@ -93,7 +93,8 @@ class TencentVideo(object):
93
 
94
  await page.click('input[placeholder="请选择发葨既间"]')
95
 
96
- current_month = str(publish_date.month) + "月"
 
97
  # θŽ·ε–ε½“ε‰ηš„ζœˆδ»½
98
  page_month = await page.inner_text('span.weui-desktop-picker__panel__label:has-text("月")')
99
 
 
93
 
94
  await page.click('input[placeholder="请选择发葨既间"]')
95
 
96
+ str_month = str(publish_date.month) if publish_date.month > 9 else "0" + str(publish_date.month)
97
+ current_month = str_month + "月"
98
  # θŽ·ε–ε½“ε‰ηš„ζœˆδ»½
99
  page_month = await page.inner_text('span.weui-desktop-picker__panel__label:has-text("月")')
100