File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2058,13 +2058,13 @@ def download_list_html(
20582058 str: HTML representation of a table with documents and their associated actions.
20592059 """
20602060 if not view_label :
2061- view_label = self .view_label or word ("View" )
2061+ view_label = str ( self .view_label ) or word ("View" )
20622062
20632063 if not download_label :
2064- download_label = self .download_label or word ("Download" )
2064+ download_label = str ( self .download_label ) or word ("Download" )
20652065
20662066 if not send_label :
2067- send_label = self .send_label or word ("Send" )
2067+ send_label = str ( self .send_label ) or word ("Send" )
20682068
20692069 if zip_format is None :
20702070 zip_format = format
@@ -2275,7 +2275,7 @@ def send_email_table_row(
22752275 str: The generated HTML string for the table row.
22762276 """
22772277 if not send_label :
2278- send_label = self .send_label or word ("Send" )
2278+ send_label = str ( self .send_label ) or word ("Send" )
22792279
22802280 if not self .has_enabled_documents ():
22812281 return "" # Don't let people email an empty set of documents
@@ -2342,7 +2342,7 @@ def send_button_to_html(
23422342 str: The generated HTML string for the button.
23432343 """
23442344 if label is None :
2345- label = self .send_label or word ("Send" )
2345+ label = str ( self .send_label ) or word ("Send" )
23462346
23472347 if not self .has_enabled_documents ():
23482348 return "" # Don't let people email an empty set of documents
You can’t perform that action at this time.
0 commit comments