Update register.py

Changed the variable "variable" to something else.