Skip to content

[BUG] SyntaxError: f-string expression part cannot include a backslash #301

@nivit

Description

@nivit

Pyradio (v.0.9.3.11.16) fails to start on FreeBSD with the following error:

Traceback (most recent call last):
  File "/usr/local/bin/pyradio", line 5, in <module>
    from pyradio.main import shell
  File "/usr/local/lib/python3.11/site-packages/pyradio/main.py", line 670
    print(f"Python version: [green]{sys.version.replace('\\n', ' ').replace('\\r', ' ')}[/green]")
                                                                                                 ^
SyntaxError: f-string expression part cannot include a backslash

System:

  • OS: FreeBSD-14.2-RELEASE
  • Python version: 3.11
  • PyRadio Version: 0.9.3.11.16
  • Player used: mpv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions