diff --git a/src/psij/job_attributes.py b/src/psij/job_attributes.py index 91fcd02b..d060fa30 100644 --- a/src/psij/job_attributes.py +++ b/src/psij/job_attributes.py @@ -53,7 +53,8 @@ def __init__(self, duration: timedelta = timedelta(minutes=10), self.account = account self.duration = duration self.queue_name = queue_name - self.project_name = project_name + if project_name is not None: + self.project_name = project_name self.reservation_id = reservation_id self._custom_attributes = custom_attributes