os/modules/user/.config/offlineimap/functions.py
Benjamin Bädorf b2cbebbd94
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
refactor: Last chagnes to remove digga
2023-10-03 13:08:10 +02:00

10 lines
208 B
Python

#! /usr/bin/env python2
import os
import subprocess
def get_env(key):
return os.getenv(key)
def get_secret(*attributes):
return subprocess.check_output(["secret-tool", "lookup"] + list(attributes))