Parcourir la source

fix environment path

Richard Köhl il y a 1 an
Parent
commit
526616d350
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      screenshot.py

+ 1 - 1
screenshot.py

@@ -10,7 +10,7 @@ from helper import (
     save_screenshot,
 )
 
-screenshot_address = os.getenv("ANDROID_ADDRESS")
+screenshot_address = os.getenv("SCREENSHOT_PATH")
 
 # templates
 close_sub_fights = cv2.imread("templates/close_sub_fights.jpg")