Skip to content

Commit

Permalink
remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
happycastle114 committed Nov 17, 2023
1 parent 92f4c92 commit 1ba0304
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions API/elected.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
from .utils import save_to_excel, save_to_mongo, getLocalMetroMap


BASE_URL = "http://apis.data.go.kr/9760000/WinnerInfoInqireService2/getWinnerInfoInqire"

BASE_URL = "http://apis.data.go.kr/9760000/WinnerInfoInqireService2/getWinnerInfoInqire"

def fetch_data(
sgId: str,
Expand Down Expand Up @@ -82,7 +81,6 @@ def fetch_all_data(
drop_columns = args.drop_columns.split(",") if args.drop_columns else []

data_list = fetch_all_data(sgIds, args.sgTypecode, drop_columns=drop_columns)
print(getLocalMetroMap())
if args.save_method == "excel":
save_to_excel(data_list, args.sgTypecode, is_elected=True)
elif args.save_method == "mongo":
Expand Down

0 comments on commit 1ba0304

Please sign in to comment.