Skip to content

Commit 3648b75

Browse files
committed
Revert "housekeeping"
This reverts commit 568839c.
1 parent c957bb5 commit 3648b75

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

parser.py

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# result is a dictionary of the excel sheet
2+
def get_linkedin_url(result):
3+
if result.has_key("linkedin"):
4+
return result["linkedin"]
5+
elif result.has_key("Linkedin"):
6+
return result["Linkedin"]
7+
elif result.has_key("LinkedIn"):
8+
return result["LinkedIn"]
9+
elif result.has_key("linkedIn"):
10+
return result["linkedIn"]
11+
return ""
12+
13+
14+
def get_pic_url(result):
15+
if result.has_key("Photo for Website and Program"):
16+
return result["Photo for Website and Program"]
17+
elif result.has_key("image"):
18+
return result["image"]
19+
return ""

0 commit comments

Comments
 (0)