Skip to content

Commit

Permalink
Fix Pipfile.find method returning invalid path for Windows OS (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderGondek authored and kennethreitz committed Feb 2, 2017
1 parent 1a5742c commit eed9a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipfile/api.py
Expand Up @@ -113,7 +113,7 @@ def find(max_depth=3):

if i < max_depth:
if 'Pipfile':
p = '{0}/Pipfile'.format(c)
p = os.path.join(c, 'Pipfile')
if os.path.isfile(p):
return p
raise RuntimeError('No Pipfile found!')
Expand Down

0 comments on commit eed9a35

Please sign in to comment.