Marthee commited on
Commit
b424849
·
verified ·
1 Parent(s): 9b4cb90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -484,10 +484,10 @@ def checktables():
484
  if projectpart and projectname:
485
  print(t3Diff1)
486
 
487
- roww=t3Diff1.iloc[np.where((t3Diff1['ProjectId']==str(prjid) ) & (t3Diff1['ProjectPartId']==str(projectpartid)) ) ]
488
- # print(prjid,partid,roww.shape[0] )
489
  for i in range(len(roww['ProjectId'].values)):
490
- if roww.shape[0]>0:
491
  print(roww['ProjectSection'].iloc[i] )
492
  differentSections.append(str(roww['ProjectSection'].iloc[i]))
493
  print(differentSections)
 
484
  if projectpart and projectname:
485
  print(t3Diff1)
486
 
487
+ roww=t3Diff1.iloc[np.where((t3Diff1['ProjectId']==int(prjid) ) & (t3Diff1['ProjectPartId']==int(projectpartid)) ) ]
488
+ print('wweee',prjid,projectpartid)
489
  for i in range(len(roww['ProjectId'].values)):
490
+ # if roww.shape[0]>0:
491
  print(roww['ProjectSection'].iloc[i] )
492
  differentSections.append(str(roww['ProjectSection'].iloc[i]))
493
  print(differentSections)