Skip to content

Commit

Permalink
New Transaction type (#10)
Browse files Browse the repository at this point in the history
* Added disbursement transaction
* Using utf-8 format for local windows pip install
  • Loading branch information
Msender98 committed Aug 26, 2020
1 parent cc8e0f5 commit a8bcbc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"""The setup script."""
from setuptools import setup, find_packages

with open('README.md') as readme_file:
with open('README.md', encoding = "utf-8") as readme_file:
readme = readme_file.read()


def requirements():
"""Build the requirements list for this project"""
requirements_list = []

with open('requirements.txt') as requirements:
with open('requirements.txt', encoding = "utf-8") as requirements:
for install in requirements:
requirements_list.append(install.strip())

Expand Down
3 changes: 3 additions & 0 deletions venmo_api/models/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,6 @@ class TransactionType(Enum):
AUTHORIZATION = 'authorization'
# debit card atm withdrawal
ATM_WITHDRAWAL = 'atm_withdrawal'

DISBURSEMENT = 'disbursement'

0 comments on commit a8bcbc7

Please sign in to comment.