Skip to content

Fix f-string syntax in main.py#3

Open
danishashko wants to merge 1 commit into
brightdata:mainfrom
danishashko:fix/fstring-syntax-in-main
Open

Fix f-string syntax in main.py#3
danishashko wants to merge 1 commit into
brightdata:mainfrom
danishashko:fix/fstring-syntax-in-main

Conversation

@danishashko

Copy link
Copy Markdown

What this fixes

Line 21 in main.py uses ${url} inside a Python f-string. This is JavaScript template literal syntax, not Python.

In Python, ${url} evaluates to the string literal $ followed by the value of url - so the output would look like Analyzing '$https://example.com' instead of Analyzing 'https://example.com'.

Change

- print(f"Analyzing '${url}' for AI content optimization...")
+ print(f"Analyzing '{url}' for AI content optimization...")

Simple one-line fix. No other files changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant