Browse Source

NULL -> None

wzx 3 years ago
parent
commit
f2370391f9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      main.py

+ 1 - 2
main.py

@@ -1,4 +1,3 @@
-from asyncio.windows_events import NULL
 import os
 import sys
 from selenium import webdriver
@@ -13,7 +12,7 @@ videopath =  r"video"
 screenshotArea = (635, 338, 1285, 828)  #屏幕截图范围 (起点x坐标,起点y坐标, 终点x坐标, 终点y坐标)
 imageList = []
 
-driver = NULL
+driver = None
 totalTime = 0   # 心跳记录的总时长 秒
 endFlag = 0     # 0:未开始 1:已开始 2:已结束 
 frameIndex = 0