This variable is never used.  If you are intending to modify a module variable then you need to use the global keyword before modifying it in this scope.