Toggle navigation
Toggle navigation
This project
Loading...
Sign in
장연우
/
WELLO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
soonmyeong2
2019-11-21 00:53:32 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
85c061a5c38c8ca02c8c0492f7ac600e09a173ee
85c061a5
1 parent
de0b955b
merging
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
backend/raw_preprocessing.py → backend/delete/raw_preprocessing.py
backend/raw_calculate.py
backend/raw_preprocessing.py
→
backend/
delete/
raw_preprocessing.py
View file @
85c061a
File moved
backend/raw_calculate.py
View file @
85c061a
...
...
@@ -53,7 +53,7 @@ def date_calculate(url):
with
open
(
'
db (2)
.json'
,
'rt'
,
encoding
=
'utf-8'
)
as
json_file
:
with
open
(
'
convertcsv1
.json'
,
'rt'
,
encoding
=
'utf-8'
)
as
json_file
:
json_data
=
json
.
load
(
json_file
)
...
...
@@ -65,7 +65,7 @@ for js in json_data:
js
[
key
]
=
find_url_in_str
(
value
)
# critical point
if
key
==
"Keyword"
:
js
[
key
]
=
"["
+
value
.
replace
(
"["
,
""
)
.
replace
(
"]"
,
""
)
+
"]"
js
[
key
]
=
value
.
replace
(
"["
,
""
)
.
replace
(
"]"
,
""
)
if
key
==
"View"
:
js
[
"D_day"
]
=
date_calculate
(
js
[
"Date"
])
break
...
...
Please
register
or
login
to post a comment