Jelajahi Sumber

update requirements, fix fallback output

Richard Köhl 1 tahun lalu
induk
melakukan
e91eec5257
2 mengubah file dengan 6 tambahan dan 6 penghapusan
  1. 1 1
      helper.py
  2. 5 5
      requirements.txt

+ 1 - 1
helper.py

@@ -28,8 +28,8 @@ if (
     or not os.path.exists(ram_drive_path)
     or not os.path.ismount(ram_drive_path)
 ):
-    print("no ram drive ({ram_drive_path})")
     ram_drive_path = os.getenv("SCREENSHOT_PATH")
+    print("no ram drive (fallback to {ram_drive_path})")
 
 android_address = os.getenv("ANDROID_ADDRESS")
 client = AdbClient(host="127.0.0.1", port=5037)

+ 5 - 5
requirements.txt

@@ -1,5 +1,5 @@
-opencv-python==4.9.0.80
-numpy==1.26.1
-Pillow==9.0.1
-pure-python-adb==0.3.0.dev0
-python-dotenv==1.0.0
+numpy==1.26.3
+opencv_python==4.9.0.80
+Pillow==10.2.0
+pure_python_adb==0.3.0.dev0
+python-dotenv==1.0.1