소스 검색

remove unused import and unnecessary sleep

Richard Köhl 1 년 전
부모
커밋
58a66f3b98
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      dungeon.py

+ 0 - 2
dungeon.py

@@ -4,7 +4,6 @@ import numpy as np
 from helper import (
     tap,
     look_for_templates,
-    find_template,
     first_template,
     capture_current_screen,
     get_current_screen,
@@ -65,7 +64,6 @@ def read_screen():
 print("watching the screen...")
 is_mixed = False
 while True:
-    time.sleep(0.5)  # Polling interval
     capture_current_screen()
 
     name, locations = look_for_templates(templates)