Skip to content

Commit

Permalink
Fix getting input in python3
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiek committed Jun 3, 2017
1 parent 2a4abc7 commit a9d0398
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gitfeed/gitfeed.py
Expand Up @@ -50,7 +50,7 @@ def setConfigurationFiles():
file_path = os.path.join(home, folder_name, file_name)

if not os.path.isfile(file_path):
if sys_version > (3,0):
if version_info > (3,0):
user = input("What's your GitHub username? ")
else:
user = raw_input("What's your GitHub username? ")
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -4,7 +4,7 @@
import gitfeed

setup(name='GitFeed',
version='0.1.2',
version='0.1.3',
description='Check your GitHub Newsfeed via the command-line.',
author='Ritiek Malhotra',
author_email='ritiekmalhotra123@gmail.com',
Expand All @@ -17,7 +17,7 @@
url='https://www.github.com/Ritiek/GitFeed',
keywords=['GitHub', 'news', 'feed', 'command-line', 'python'],
license='MIT',
download_url='https://github.com/Ritiek/GitFeed/archive/v0.1.2.tar.gz',
download_url='https://github.com/Ritiek/GitFeed/archive/v0.1.3.tar.gz',
classifiers=[],
install_requires=[
'requests >= 2.17.3',
Expand Down

0 comments on commit a9d0398

Please sign in to comment.