Skip to content

Commit

Permalink
replace deprecated smart_text import
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Rosenberg authored and Jake Rosenberg committed Nov 6, 2023
1 parent fcb750f commit 88b8ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion designsafe/apps/googledrive_integration/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_prep_value(self, value):
if value is None:
return None
else:
return encoding.smart_text(
return encoding.smart_str(
base64.b64encode(jsonpickle.encode(value).encode()))

def value_to_string(self, obj):
Expand Down

0 comments on commit 88b8ddf

Please sign in to comment.