Skip to content

Commit

Permalink
Fixed Colors enum value representation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmohades committed May 9, 2020
1 parent 9f3e28d commit 0f25acb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def requirements():

setup(
name='venmo-api',
version='0.1.1',
version='0.1.2',
author="Mark Mohades",
license="GNU General Public License v3",
url='https://github.com/mmohades/venmo',
Expand Down
4 changes: 2 additions & 2 deletions venmo_api/utils/api_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def warn(message):
:param message:
:return:
"""
print(Colors.WARNING + message + Colors.ENDC)
print(Colors.WARNING.value + message + Colors.ENDC.value)


def confirm(message):
Expand All @@ -101,7 +101,7 @@ def confirm(message):
:param message:
:return:
"""
print(Colors.OKBLUE + message + Colors.ENDC)
print(Colors.OKBLUE.value + message + Colors.ENDC.value)


def get_user_id(user, user_id):
Expand Down

0 comments on commit 0f25acb

Please sign in to comment.