Avoid unprintable chars on Windows

Fixes #36
This commit is contained in:
Georgios Verigakis
2018-05-31 09:47:00 +03:00
parent a83f91f4b8
commit 5d52c5b299

View File

@@ -15,6 +15,9 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
from __future__ import unicode_literals
import sys
from . import Progress
from .helpers import WritelnMixin
@@ -61,6 +64,9 @@ class FillingCirclesBar(ChargingBar):
class IncrementalBar(Bar):
if sys.platform.startswith('win'):
phases = (u' ', u'', u'')
else:
phases = (' ', '', '', '', '', '', '', '', '')
def update(self):