--private-key is optional
This commit is contained in:
parent
7786cc1112
commit
ebef954cf9
1 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ parser.add_argument("--private-key", required=False)
|
|||
|
||||
def run():
|
||||
args = parser.parse_args()
|
||||
if args.private_key is not None:
|
||||
os.environ["NIX_SECRET_KEY_FILE"] = os.path.abspath(os.path.expanduser(args.private_key))
|
||||
|
||||
logging.basicConfig(level=args.loglevel)
|
||||
|
|
Loading…
Reference in a new issue