Skip to content

Commit

Permalink
fixed #26
Browse files Browse the repository at this point in the history
  • Loading branch information
MyKings committed Oct 15, 2019
1 parent 9a94003 commit a33ba52
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env
# -*- coding: utf-8 -*-
import os
import sys
Expand All @@ -16,12 +16,8 @@

here = os.path.abspath(os.path.dirname(__file__))

if IS_PY2:
with io.open(os.path.join(here, 'README.rst')) as readme_file:
long_description = readme_file.read()
else:
with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
long_description = readme_file.read()
with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
long_description = readme_file.read()

setup(
name='python-masscan',
Expand Down

0 comments on commit a33ba52

Please sign in to comment.