Skip to content

Commit

Permalink
update to_deprecated_string to unicode (#46)
Browse files Browse the repository at this point in the history
* update to_deprecated_string to unicode

* switch to text_type

* replace to str
  • Loading branch information
ffedoroff authored Oct 14, 2020
1 parent 6294f4b commit dd6a8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow_control/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def get_location_string(self, locator, is_draft=False):
# pylint: disable=no-member
course_prefix = 'course'
resource = 'problem'
course_url = self.course_id.to_deprecated_string()
course_url = str(self.course_id)

if is_draft:
course_url = course_url.split(self.course_id.run)[0]
Expand Down

0 comments on commit dd6a8cf

Please sign in to comment.