[PR #23] [MERGED] Fix Local variable 'twitter_uuid' might be referenced before assignment #99

Closed
opened 2026-03-02 04:06:47 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/23
Author: @SUTFutureCoder
Created: 2/20/2024
Status: Merged
Merged: 2/20/2024
Merged by: @FujiwaraChoki

Base: mainHead: main


📝 Commits (1)

  • 347c209 fix TypeError: NoneType object is not subscriptable

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/main.py (+1 -1)

📄 Description

Fix Local variable 'twitter_uuid' might be referenced before assignment.

Which can not match twitter_uuid between twitter config and AFM config selection.

Relative Error:
File "MoneyPrinterV2/src/main.py", line 294, in main
afm = AffiliateMarketing(affiliate_link, account["firefox_profile"], account["id"], account["nickname"], account["topic"])
TypeError: 'NoneType' object is not subscriptable


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/23 **Author:** [@SUTFutureCoder](https://github.com/SUTFutureCoder) **Created:** 2/20/2024 **Status:** ✅ Merged **Merged:** 2/20/2024 **Merged by:** [@FujiwaraChoki](https://github.com/FujiwaraChoki) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`347c209`](https://github.com/FujiwaraChoki/MoneyPrinterV2/commit/347c209ffbb691c267ce5adc236778ece0c588aa) fix TypeError: NoneType object is not subscriptable ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/main.py` (+1 -1) </details> ### 📄 Description Fix Local variable 'twitter_uuid' might be referenced before assignment. Which can not match twitter_uuid between twitter config and AFM config selection. Relative Error: File "MoneyPrinterV2/src/main.py", line 294, in main afm = AffiliateMarketing(affiliate_link, account["firefox_profile"], account["id"], account["nickname"], account["topic"]) TypeError: 'NoneType' object is not subscriptable --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:06:47 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/MoneyPrinterV2#99
No description provided.