Ver código fonte

get configuration from .env file

Richard Köhl 1 ano atrás
pai
commit
519ba1e389
1 arquivos alterados com 3 adições e 1 exclusões
  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)