Skip to content

Commit

Permalink
bumped version to 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
animesh-chouhan committed Jun 29, 2021
1 parent d1877a2 commit 36d9c65
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Binary file removed dist/vcf-creator-1.0.2.tar.gz
Binary file not shown.
Binary file added dist/vcf-creator-1.0.3.tar.gz
Binary file not shown.
Binary file removed dist/vcf_creator-1.0.2-py3-none-any.whl
Binary file not shown.
Binary file added dist/vcf_creator-1.0.3-py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion sample.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name,organisation,phone,email,address,birthday
Name,Organisation,Phone,Email,Address,Birthday
Samuel Short,Convallis Inc.,+91 9499109040,[email protected],"P.O. Box 322, 7849 Nunc Av.",20080403
Mia Jensen,Ut Pellentesque Eget Corp.,+91 7680256715,[email protected],"P.O. Box 195, 6074 Proin Av.",20060630
Kirk Hampton,Fusce Dolor Corporation,+91 8469919078,[email protected],"P.O. Box 309, 5319 Commodo Rd.",20190310
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="vcf-creator",
version="1.0.2",
version="1.0.3",
author="Animesh Singh Chouhan",
author_email="[email protected]",
description="Generate vCard file from CSV",
Expand Down
2 changes: 1 addition & 1 deletion vcf_creator.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: vcf-creator
Version: 1.0.2
Version: 1.0.3
Summary: Generate vCard file from CSV
Home-page: https://github.com/animesh-chouhan/vcf-creator
Author: Animesh Singh Chouhan
Expand Down
2 changes: 1 addition & 1 deletion vcf_creator/tests/test.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name,organisation,phone,email,address,birthday
Name,Organisation,Phone,Email,Address,Birthday
Samuel Short,Convallis Inc.,+91 9499109040,[email protected],"P.O. Box 322, 7849 Nunc Av.",20080403
Mia Jensen,Ut Pellentesque Eget Corp.,+91 7680256715,[email protected],"P.O. Box 195, 6074 Proin Av.",20060630
Kirk Hampton,Fusce Dolor Corporation,+91 8469919078,[email protected],"P.O. Box 309, 5319 Commodo Rd.",20190310
Expand Down
14 changes: 7 additions & 7 deletions vcf_creator/vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import os.path

ATTRIBUTES = {
"name": "FN",
"organisation": "ORG",
"phone": "TEL;WORK;VOICE",
"email": "EMAIL",
"address": "ADR;HOME",
"birthday": "BDAY"
"Name": "FN",
"Organisation": "ORG",
"Phone": "TEL;WORK;VOICE",
"Email": "EMAIL",
"Address": "ADR;HOME",
"Birthday": "BDAY"
}

attributes_present = {}
Expand Down Expand Up @@ -67,7 +67,7 @@ def vcard_generator(filename):
# Get header
header = reader.__next__()
# Name is required
if "name" not in header:
if "Name" not in header:
print("Header not supported.")
return -1

Expand Down

0 comments on commit 36d9c65

Please sign in to comment.