浏览代码

get configuration from .env file

Richard Köhl 1 年之前
父节点
当前提交
519ba1e389
共有 1 个文件被更改,包括 3 次插入1 次删除
  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)