File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 8
8
import os
9
9
10
10
data = Blueprint ('register' , __name__ )
11
- PATH_HOSPITAL = os .path .join (path_home , "HOSPITAL.csv" )
12
- PATH_LOGISTICAL = os .path .join (path_home , "LOGISTICAL.csv" )
13
- PATH_HOTEL = os .path .join (path_home , "HOTEL.csv" )
14
11
if platform .system ()== "Linux" :
15
12
path_home = "/home/wuhan2020/wuhan2020"
16
13
else :
21
18
22
19
if not os .path .exists (path_home ):
23
20
os .mkdir (path_home )
24
-
21
+ PATH_HOSPITAL = os .path .join (path_home , "HOSPITAL.csv" )
22
+ PATH_LOGISTICAL = os .path .join (path_home , "LOGISTICAL.csv" )
23
+ PATH_HOTEL = os .path .join (path_home , "HOTEL.csv" )
25
24
26
25
@data .route ('/logistical_list' )
27
26
def logistical_list ():
@@ -48,8 +47,6 @@ def logistical_list():
48
47
}
49
48
return json .dumps (response ,ensure_ascii = False )
50
49
51
-
52
-
53
50
@data .route ('/hotel_list' )
54
51
def hotel_list ():
55
52
try :
You can’t perform that action at this time.
0 commit comments