Python Forum
global name 'completion_name_regex' is not defined
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
global name 'completion_name_regex' is not defined
#6
You're defining the variable:
completion_regex, but trying to use the variable:
completion_name_regex.

You're getting the variable not found error, because you're trying to use a variable that doesn't exist (completion_name_regex). So, either define that, or change it to use the variable you already have but never use (completion_regex).
Reply


Messages In This Thread
RE: global name 'completion_name_regex' is not defined - by nilamo - Feb-21-2018, 08:56 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020