Skip to content

Commit

Permalink
Support of #370
Browse files Browse the repository at this point in the history
  • Loading branch information
nutjob4life committed Sep 11, 2024
1 parent 7a84f47 commit 983cffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def _code(self, identifier: str) -> str:
return urlparse(identifier).path.split('/')[-1]
def render_email(self, form):
data = form.cleaned_data
cp = ConfigParser()
cp = ConfigParser(interpolation=None)
cp.optionxform = lambda option: option
cp.add_section('Dataset')
cp.set('Dataset', 'DatasetName', data['name'])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _code(self, identifier: str) -> str:
return urlparse(identifier).path.split('/')[-1]
def render_email(self, form):
data = form.cleaned_data
cp = ConfigParser()
cp = ConfigParser(interpolation=None)
cp.optionxform = lambda option: option
cp.add_section('Collection')
cp.set('Collection', 'CollectionName', data['collection_name'])
Expand Down

0 comments on commit 983cffe

Please sign in to comment.