Marthee commited on
Commit
7ad3519
·
1 Parent(s): fb16a58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -381,11 +381,11 @@ def getlinkscreated(jsdata):
381
 
382
  allpaths=[]
383
  # for title in titles:
384
- for i in range(len(titles)):
385
- if not titles[i].startswith('API'):
386
  ws=gc.open(titles[i])
387
  allpaths.append([titles[i], ws.get_developer_metadata('path')[0].value , drive_service.files().get(fileId=ids[i],fields="createdTime, modifiedTime").execute() ,ids[i] ])
388
-
389
  return jsonify(allpaths)
390
 
391
  #_________________________________________________________________________________________________________________________
 
381
 
382
  allpaths=[]
383
  # for title in titles:
384
+ for i in range(0,len(titles)):
385
+ if not (titles[i].startswith('API') or (titles[i].startswith('Dropbox')) ) :
386
  ws=gc.open(titles[i])
387
  allpaths.append([titles[i], ws.get_developer_metadata('path')[0].value , drive_service.files().get(fileId=ids[i],fields="createdTime, modifiedTime").execute() ,ids[i] ])
388
+
389
  return jsonify(allpaths)
390
 
391
  #_________________________________________________________________________________________________________________________