fix path for pre-existing root configuration
@@ -10,9 +10,6 @@ def gpu_queue(options):
from vent.helpers.meta import GpuUsage
status = (False, None)
- if os.path.isdir("/root/.vent"):
- path_dir = "/root/.vent"
- else:
path_dir = os.path.join(os.path.expanduser("~"), ".vent")
print("gpu queue", str(options))
@@ -155,8 +152,6 @@ def file_queue(path, template_path=".vent/", r_host="redis"):
logger = Logger(__name__)
template_path = os.path.join(os.path.expanduser("~"), template_path)
- if os.path.isdir("/root/.vent"):
- template_path = "/root/.vent/"
try:
d_client = docker.from_env()
