]> sigrok.org Git - libsigrokdecode.git/commit
jitter, pwm: Avoid Unicode string literals
authorDaniel Elstner <redacted>
Tue, 15 Sep 2015 09:42:05 +0000 (11:42 +0200)
committerDaniel Elstner <redacted>
Tue, 15 Sep 2015 09:42:05 +0000 (11:42 +0200)
commit750e122d2bcdf05e600112ffda431f97608db387
tree6e2a542e6c6e7304c040e5684fd13bfe7bf8f518
parent544038d90e05c03f6f914c7771ee52dd85784ca8
jitter, pwm: Avoid Unicode string literals

It seems the Python we ship along our Windows binaries does not
support u"..." strings, even though it's been a language feature
since Python 2. Remove the "u" prefix to avoid a syntax error.

Also, consistently use format "%.1f" at all scales.

This fixes bug #569.
decoders/jitter/pd.py
decoders/pwm/pd.py