You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The problem is in
hooks/getcwd_hook()
func: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.The text was updated successfully, but these errors were encountered: