Skip to content

Commit

Permalink
Remove course name length restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
chadrockey committed Dec 29, 2019
1 parent 9375e3c commit 7b50a7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tgc_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,9 @@ def disableAllChildren(var, frame):
frame['state'] = 'disable'

def validateCourseName(action_type, index, value, previous, new_text, validation_types, validation_type, widget_name):
if len(value) > 32:
return False
# We also can submit as long of a course name as we want, so remove this limit!
#if len(value) > 32:
# return False
return True
# Looks like they accept almost all characters, wow...
'''allowed_chars = string.ascii_letters + string.digits + ' '
Expand Down

0 comments on commit 7b50a7a

Please sign in to comment.