You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error output from fritzbox_traffic.py:
/etc/munin/plugins/fritzbox_traffic.py:57: SyntaxWarning: invalid escape sequence '\$'
print("graph_vlabel bits in (-) / out (+) per \${graph_period}")
That's this line:
print("graph_vlabel bits in (-) / out (+) per \${graph_period}")
Changed in version 3.11: Octal escapes with value larger than 0o377 produce a DeprecationWarning.
Changed in version 3.12: Octal escapes with value larger than 0o377 produce a SyntaxWarning. In a future Python version they will be eventually a SyntaxError.
Python 3.12 produces this error:
That's this line:
print("graph_vlabel bits in (-) / out (+) per \${graph_period}")
https://github.com/Tafkas/fritzbox-munin/blob/master/fritzbox_traffic.py#L57
Python changed this:
https://docs.python.org/3/reference/lexical_analysis.html#escape-sequences
Seems like
\$
should be changed.Probably to
$
or\\$
.or something like that.I'm not a Python expert, so I can't write a PR.
The text was updated successfully, but these errors were encountered: