Explorar el Código

get configuration from .env file

Richard Köhl hace 1 año
padre
commit
519ba1e389
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      capture.py

+ 3 - 1
capture.py

@@ -1,3 +1,5 @@
+import os
 from helper import save_screenshot
 
-save_screenshot("test")
+screenshot_address = os.getenv("SCREENSHOT_PATH")
+save_screenshot(screenshot_address)