Skip to content

Commit

Permalink
linter fixes for (BrettMayson#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
Inmaan committed May 14, 2023
1 parent 3d86d80 commit a970160
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions launch.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import os
import re
from pathlib import Path
import shutil
import subprocess
from string import Template
from pathlib import Path

import local
import workshop
Expand Down Expand Up @@ -45,11 +45,11 @@ def env_defined(key):
if os.path.exists(BASE_DIR / "move_to_root"):
for file in os.listdir(BASE_DIR / "move_to_root"):
# Check if the path is a directory
if os.path.isdir(BASE_DIR / "move_to_root" /file):
if os.path.isdir(BASE_DIR / "move_to_root" / file):
print('f{file} is a directory, create a volume link instead')
else:
# Copy the file and overwrite if it already exists
shutil.copy2(BASE_DIR / "move_to_root" / file, BASE_DIR / file)
shutil.copy2(BASE_DIR / "move_to_root" / file, BASE_DIR / file)

# Mods

Expand Down

0 comments on commit a970160

Please sign in to comment.