jaredks / rumps

Ridiculously Uncomplicated macOS Python Statusbar apps
BSD 3-Clause "New" or "Revised" License
3.09k stars 179 forks source link

Escape percent sign to prevent a ValueError #70

Closed cbenhagen closed 5 years ago

cbenhagen commented 7 years ago

Otherwise this would throw an exception:

rumps.alert(message='99 %')

ValueError: Too few arguments for format string [cur:5/len:5]