Marthee commited on
Commit
ffb7ac7
·
verified ·
1 Parent(s): eade826

Update Doors_Schedule.py

Browse files
Files changed (1) hide show
  1. Doors_Schedule.py +1 -1
Doors_Schedule.py CHANGED
@@ -1794,7 +1794,7 @@ def mainRun(schedule, plan, searcharray):
1794
  len_doc2 = len(doc2)
1795
  list1=pd.DataFrame(columns=['content', 'id', 'subject','color'])
1796
  print(f"number of pges of doc2 is {len_doc2} and its type is {type(doc2)}")
1797
- for page in len_doc2:
1798
  # page=doc2[0]
1799
  pix = page.get_pixmap() # render page to an image
1800
  pl=Image.frombytes('RGB', [pix.width,pix.height],pix.samples)
 
1794
  len_doc2 = len(doc2)
1795
  list1=pd.DataFrame(columns=['content', 'id', 'subject','color'])
1796
  print(f"number of pges of doc2 is {len_doc2} and its type is {type(doc2)}")
1797
+ for page in doc2:
1798
  # page=doc2[0]
1799
  pix = page.get_pixmap() # render page to an image
1800
  pl=Image.frombytes('RGB', [pix.width,pix.height],pix.samples)