88888888q commited on
Commit
3f6d995
·
1 Parent(s): 53cddf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -878,7 +878,10 @@ def reverse(file,presid,type):
878
  continue
879
  xxx = xx[1].split("-")
880
  pb.name = xxx[0].strip()
881
- pb.way = xxx[1].strip()
 
 
 
882
  pb.income=0
883
  pb.frequency=0
884
  pb.ffrequency = 0
 
878
  continue
879
  xxx = xx[1].split("-")
880
  pb.name = xxx[0].strip()
881
+ if(len(xxx)>1):
882
+ pb.way = xxx[1].strip()
883
+ else:
884
+ pb.way = "无"
885
  pb.income=0
886
  pb.frequency=0
887
  pb.ffrequency = 0