Skip to content

Commit 183f025

Browse files
author
Josef-MrBeam
committed
fix path of unzip folder
1 parent 9c347b4 commit 183f025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octoprint_netconnectd/scripts/update_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def loadPluginTarget(archive, folder):
392392
plugin_extracted_path_folder = os.path.join(
393393
plugin_extracted_path,
394394
"{repo_name}-{target}".format(
395-
repo_name=REPO_NAME, target=filename.split(".zip")[0]
395+
repo_name=REPO_NAME, target=re.sub(r"^v", "", filename.split(".zip")[0])
396396
),
397397
)
398398
try:

0 commit comments

Comments
 (0)