Skip to content

Commit

Permalink
Merge pull request #82 from abakan/revert-77-devel
Browse files Browse the repository at this point in the history
Revert "tried to operate in a multi-language environment"
  • Loading branch information
lordnapi committed Feb 28, 2017
2 parents 73e65f0 + cd0e03b commit 7fb9fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ablog/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def find_confdir():

conf = join(confdir, 'conf.py')

if isfile(conf) and 'ablog' in open(conf, 'r', encoding='utf-8').read():
if isfile(conf) and 'ablog' in open(conf).read():
return confdir
else:
sys.exit("Current directory and its parents doesn't "
Expand Down

0 comments on commit 7fb9fcb

Please sign in to comment.