Merge pull request #174 from Bankde/fix-error-in-python2

No FileNotFoundError in py2
This commit is contained in:
Mads Marquart
2017-07-09 20:53:47 +02:00
committed by GitHub

View File

@@ -18,7 +18,7 @@ with open('README.rst') as f:
try:
requirements = [line.rstrip('\n') for line in open(os.path.join('fbchat.egg-info', 'requires.txt'))]
except FileNotFoundError:
except IOError:
requirements = [line.rstrip('\n') for line in open('requirements.txt')]
version = None