Resolved a typo in the previous commit.

pull/3/head
Ashesh Vashi 2017-04-03 19:00:06 +05:30
parent 02a3919b06
commit 4d55e8abe8
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class ServerType(object):
sys.modules['__main__'], '__file__', None
)
if main_module_file is None:
if main_module_file is not None:
bin_path = bin_path.replace(
"$DIR", os.path.dirname(main_module_file)
)