Skip to content

Commit 418902f

Browse files
capitalize pid
1 parent 2bf63d1 commit 418902f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/views/create_account_review.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def setup(self, first_name="", last_name="", email="", pid="", pid_locked=False)
7171
if email:
7272
self.email_entry.setText(email)
7373
if pid:
74-
self.pid_entry.setText(pid)
74+
self.pid_entry.setText(pid.upper())
7575
self.pid_entry.set_readonly(pid_locked)
7676

7777
def on_show(self):
@@ -92,7 +92,7 @@ def _submit(self):
9292
first = self.first_name_entry.text().strip()
9393
last = self.last_name_entry.text().strip()
9494
email = self.email_entry.text().strip()
95-
pid = self.pid_entry.text().strip()
95+
pid = self.pid_entry.text().strip().upper()
9696
self.clear_entries()
9797
try:
9898
self.controller.ctx.account.create_account_from_review(

0 commit comments

Comments
 (0)