Skip to content

Commit c3dfabb

Browse files
authored
Merge pull request #16 from Project-Ticketaka/feature/operation
Fix: None return 수정
2 parents dcc72f2 + 24494fa commit c3dfabb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

fclty_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def __init__(self):
1212
pass
1313

1414
def check_none(self, content):
15-
return content if content != ' ' else None
15+
return content if content != ' ' and content != '' else None
1616

1717

1818
# class ParseToJson:

prf_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self):
1515
pass
1616

1717
def check_none(self, content):
18-
return content if content != ' ' or content != '' else None
18+
return content if content != ' ' and content != '' else None
1919

2020

2121
class ParseToJson:

0 commit comments

Comments
 (0)