BinaryONe commited on
Commit
51ce687
·
1 Parent(s): c20985d

DB Changes

Browse files
Files changed (1) hide show
  1. FileStream/Database/database.py +1 -1
FileStream/Database/database.py CHANGED
@@ -139,7 +139,7 @@ class Database:
139
  if not file_info:
140
  print('file not found')
141
  #raise FileNotFound
142
- return file_info
143
  except InvalidId:
144
  raise FileNotFound
145
  elif privacy_type == "TEMPORARY":
 
139
  if not file_info:
140
  print('file not found')
141
  #raise FileNotFound
142
+ return file_info[0]
143
  except InvalidId:
144
  raise FileNotFound
145
  elif privacy_type == "TEMPORARY":