update proj toml (#974)
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
|
||||
import argparse
|
||||
import importlib
|
||||
import os
|
||||
import socket
|
||||
import sys
|
||||
import time
|
||||
@@ -216,7 +215,7 @@ class RocProfCompute:
|
||||
|
||||
def handle_profile_args(self) -> None:
|
||||
# Add --name to workload path if --path is not given
|
||||
if self.__args.path == str(Path(os.getcwd()) / "workloads"):
|
||||
if self.__args.path == str(Path.cwd() / "workloads"):
|
||||
if not hasattr(self.__args, "name") or not self.__args.name:
|
||||
console_error("-n/--name is required")
|
||||
self.__args.path = str(Path(self.__args.path) / self.__args.name)
|
||||
|
||||
Reference in New Issue
Block a user