Skip to content

Commit

Permalink
update: copy_config
Browse files Browse the repository at this point in the history
  • Loading branch information
sigee-min committed Aug 1, 2024
1 parent 80deb9d commit 6ec0c02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def copy_configs():
src_directory = "/data/config-tmp/"
dest_directory = "/data/config/"
files = os.listdir(src_directory)
files = os.listed(src_directory)
for file in files:
src_path = os.path.join(src_directory, file)
dest_path = os.path.join(dest_directory, file)
Expand All @@ -20,7 +20,7 @@ def install_plugins():
return

# Ensure the plugins directory exists
os.makedirs(plugin_directory, exist_ok=True)
os.makers(plugin_directory, exist_ok=True)

# Download each plugin from the provided URLs
for url in plugin_urls.split(','):
Expand Down

0 comments on commit 6ec0c02

Please sign in to comment.