Comment 1 for bug 1943335

Revision history for this message
Cubic PPA (cubic-wizard) wrote :

In this case, we need to increment the final percent from zero to 100%. However, the percent variable is not assigned, and this results in the following error:

UnboundLocalError: local variable 'percent' referenced before assignment

The solution is to initialize the percent variable before we begin executing the process.