Skip to content

Commit

Permalink
Bump 前最后小改动
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperScript-PRC committed Feb 14, 2024
1 parent 8d90b17 commit fef0ed6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin_market/get_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def generate_json(directory):
return data

# 获取目录下所有文件
for root, dirs, files in os.walk(target_directory):
for root, _, files in os.walk(target_directory):
relative_path = os.path.relpath(root, target_directory)
if relative_path == ".":
relative_path = ""
Expand Down
2 changes: 1 addition & 1 deletion tooldelta/plugin_market.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def download_plugin(
# Move downloaded files to target download path
target_path = os.path.join(download_path, plugin_data.name)
os.makedirs(target_path, exist_ok=True)
for root, dirs, files in os.walk(cache_dir):
for root, _, files in os.walk(cache_dir):
for filename in files:
source_file = os.path.join(root, filename)
target_file = os.path.join(
Expand Down

0 comments on commit fef0ed6

Please sign in to comment.