Skip to content

Commit cbdeea9

Browse files
committed
recover previous behavior on empty env
1 parent e6fd370 commit cbdeea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/psij/job_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _to_path(arg: Union[str, pathlib.Path, None]) -> Optional[pathlib.Path]:
2323

2424
def _to_env_dict(arg: Union[Dict[str, Union[str, int]], None]) -> Dict[str, str]:
2525
if arg is None:
26-
return dict()
26+
return None
2727
ret = dict()
2828
for k, v in arg.items():
2929
if isinstance(v, int):

0 commit comments

Comments
 (0)