Skip to content

Commit eb8c67e

Browse files
time formatted as string for logging
1 parent 5fbd4d5 commit eb8c67e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/shared/common_fn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def create_gcs_bucket_folder_name_hashed(uri, file_name):
133133

134134
def formatted_time(current_time):
135135
formatted_time = current_time.strftime('%Y-%m-%d %H:%M:%S %Z')
136-
return formatted_time
136+
return str(formatted_time)
137137

138138
def last_url_segment(url):
139139
parsed_url = urlparse(url)

0 commit comments

Comments
 (0)