-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
The problem is in hooks/getcwd_hook() func:
def getcwd_hook():
global script_folder
cwd = getcwd_original()
if cwd.lower() in script_folder.lower() and script_folder.lower() != cwd.lower():
cwd = script_folder
return cwd
It checks for cwd in script_folder which is impossible when you're trying to debug your plugin. Because cwd will be the opened binary path, not the specified by set_script_folder() call.
I think to fix that if cwd.lower() in script_folder.lower() part should be removed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels