Skip to content

Commit

Permalink
Fix last check of setup.cfg
Browse files Browse the repository at this point in the history
It was missing the leading '/'.
  • Loading branch information
gforcada committed Feb 16, 2016
1 parent 5b8c314 commit 6ac13c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake8_isort.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def search_isort_config(self):

# If the setup file exists and has an "isort" section,
# then we've found the configuration.
setup_file = os.path.join(partial_path, 'setup.cfg')
setup_file = '{0}{1}setup.cfg'.format(partial_path, os.sep)
if os.path.exists(setup_file):
config = ConfigParser()
config.read(setup_file)
Expand Down

0 comments on commit 6ac13c8

Please sign in to comment.