Skip to content

Commit

Permalink
[Fix] 들어온 값이 null일 경우 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
Seokyeong237 committed Sep 16, 2023
1 parent 72c6e96 commit 5e076f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extract_keyword.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@


def get_keyword(application):
if application is None:
return 0, [0, 0, 0, 0, 0, 0]

data = application.split('.')
data = list(map(lambda x: x.split('\n'), data))
data = sum(data, [])
Expand Down

0 comments on commit 5e076f5

Please sign in to comment.