sys_update_path(): update sys.path even if argc==0

This commit is contained in:
Victor Stinner 2010-10-25 17:37:23 +00:00
parent d960faec86
commit 07e4f1565b
1 changed files with 0 additions and 2 deletions

View File

@ -1748,8 +1748,6 @@ sys_update_path(int argc, wchar_t **argv)
if (path == NULL)
return;
if (argc == 0)
return;
argv0 = argv[0];
#ifdef HAVE_READLINK