vishwask commited on
Commit
5588b0d
·
verified ·
1 Parent(s): 5d29636

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -103,6 +103,7 @@ def initialize_database(list_file_obj):
103
  collection_name = collection_name.replace(" ","-")
104
  ## Limit lenght to 50 characters
105
  collection_name = collection_name[:50]
 
106
  ## Enforce start and end as alphanumeric character
107
  if not collection_name[0].isalnum():
108
  collection_name[0] = 'A'
 
103
  collection_name = collection_name.replace(" ","-")
104
  ## Limit lenght to 50 characters
105
  collection_name = collection_name[:50]
106
+ print(collection_name)
107
  ## Enforce start and end as alphanumeric character
108
  if not collection_name[0].isalnum():
109
  collection_name[0] = 'A'