Fix code I unwittingly broke in b0e2d6592a1f (#14038)

This commit is contained in:
Éric Araujo 2012-02-17 17:26:30 +01:00
parent e8c5fdba30
commit 2180ee641c

View file

@ -342,7 +342,7 @@ def _get_xxmodule_path():
srcdir = sysconfig.get_config_var('projectbase')
path = os.path.join(os.getcwd(), srcdir, 'Modules', 'xxmodule.c')
else:
os.path.join(os.path.dirname(__file__), 'xxmodule.c')
path = os.path.join(os.path.dirname(__file__), 'xxmodule.c')
if os.path.exists(path):
return path