Skip to content

Fixed Quote Syntax in main.py#89

Open
Raviable wants to merge 1 commit into
StudioMovieGirl:mainfrom
Raviable:main
Open

Fixed Quote Syntax in main.py#89
Raviable wants to merge 1 commit into
StudioMovieGirl:mainfrom
Raviable:main

Conversation

@Raviable

@Raviable Raviable commented Nov 29, 2024

Copy link
Copy Markdown

(From line 323, commented for explanation.)
Looked into the main.py file in VSCode and looked up the error when the program wasn't working on my machine, using double quotes two times in a single F-String can be confusing to python apparently.

  • Raviable

This was also from using the Script installation method instead of the executable, Bitdefender isn't a particularly good friend sometimes but it's no worry for me.

(From line 323, commented for explanation.)
Looked into the main.py file in VSCode and looked up the error when the program wasn't working on my machine, using double quotes two times in a single F-String can be confusing to python apparently.  
- Raviable
@Andrew-J-Larson Andrew-J-Larson added the bug Something isn't working label Nov 29, 2024
@Andrew-J-Larson

Andrew-J-Larson commented Nov 29, 2024

Copy link
Copy Markdown
Contributor

@Raviable You were close, but this would introduce single quotes into the text that we display for the spaces. It really should have been turned into this instead:

  • self.add(tab_instance, text=f"{space_icon} Space {i+1}")

If you can go ahead and update your commit, then I'm sure one of the others will merge it.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants