Selaa lähdekoodia

get configuration from .env file

Richard Köhl 1 vuosi sitten
vanhempi
commit
519ba1e389
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  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)