Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nickw444 committed Jan 31, 2019
1 parent a999da1 commit 3cf0faf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os

from setuptools import setup


Expand All @@ -8,7 +9,7 @@ def get_version():
'VERSION')
v = open(version_path).read()
if type(v) == str:
return v.strip()
return v.strip()
return v.decode('UTF-8').strip()


Expand All @@ -30,7 +31,6 @@ def get_version():
except Exception:
requires.append('enum34')


setup(
name='flask-ldap3-login',
version=version,
Expand Down

0 comments on commit 3cf0faf

Please sign in to comment.