diff options
Diffstat (limited to 'gn2')
-rw-r--r-- | gn2/wqflask/edit.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn2/wqflask/edit.py b/gn2/wqflask/edit.py index 36540939..64cc10c6 100644 --- a/gn2/wqflask/edit.py +++ b/gn2/wqflask/edit.py @@ -4,6 +4,7 @@ import subprocess from urllib.parse import urljoin from pathlib import Path +from pymonad.tools import curry from pymonad.either import Either, Left from flask import (Blueprint, @@ -23,6 +24,7 @@ def save_dataset_metadata( content: str, msg: str ) -> Either: """Save dataset metadata to git""" + @curry(2) def __run_cmd(cmd, status_code): __result = subprocess.run( cmd.split(" "), shell=True, |