mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
str() -> unicode()
This commit is contained in:
parent
f24187f251
commit
a3db3c03c1
17 changed files with 31 additions and 31 deletions
|
|
@ -80,7 +80,7 @@ class ProgressBar:
|
|||
" " * (allFull - numHashes))
|
||||
|
||||
# Add the percentage at the beginning of the progress bar
|
||||
percentString = str(percentDone) + "%"
|
||||
percentString = unicode(percentDone) + "%"
|
||||
self.__progBar = "%s %s" % (percentString, self.__progBar)
|
||||
|
||||
def draw(self, eta=0):
|
||||
|
|
@ -102,4 +102,4 @@ class ProgressBar:
|
|||
This method returns the progress bar string
|
||||
"""
|
||||
|
||||
return str(self.__progBar)
|
||||
return unicode(self.__progBar)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue