Skip to content

Version 3.0.1#1477

Merged
JasonLovesDoggo merged 21 commits intomasterfrom
develop
Feb 17, 2023
Merged

Version 3.0.1#1477
JasonLovesDoggo merged 21 commits intomasterfrom
develop

Conversation

@OpenSourceSimon
Copy link
Copy Markdown
Collaborator

Description

A couple of bug fixes

Issue Fixes

  • NSFW posts
  • TikTok improved error message
  • Background

dependabot Bot and others added 11 commits January 30, 2023 10:19
Bumps [rich](https://github.com/Textualize/rich) from 12.5.1 to 13.3.1.
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](Textualize/rich@v12.5.1...v13.3.1)

---
updated-dependencies:
- dependency-name: rich
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Fixed timeout error, add error for TikTok session ID if missing and improved return hinting
Comment thread video_creation/screenshot_downloader.py Outdated
electro199 and others added 5 commits February 3, 2023 22:53
Co-authored-by: Simon <65854503+OpenSourceSimon@users.noreply.github.com>
Better error handling and type hinting
@JasonLovesDoggo
Copy link
Copy Markdown
Collaborator

rename to 3.1

Comment thread video_creation/screenshot_downloader.py
Comment thread video_creation/screenshot_downloader.py Outdated
Comment thread video_creation/screenshot_downloader.py
Comment thread video_creation/screenshot_downloader.py
@JasonLovesDoggo
Copy link
Copy Markdown
Collaborator

Add the pylint comment back @OpenSourceSimon

@OpenSourceSimon
Copy link
Copy Markdown
Collaborator Author

Add the pylint comment back @OpenSourceSimon

Oh okay sorry I forgot

Comment thread TTS/TikTok.py
if self._code == 4:
return f"Code: {self._code}, reason: the speaker doesn't exist, message: {self._message}"

if self._code == 5:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could just use a hashmap and the code is the key

Copy link
Copy Markdown
Collaborator Author

@OpenSourceSimon OpenSourceSimon Feb 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that is possible but I think this solution is fine. I don't think we need to overcomplicate this code

@JasonLovesDoggo JasonLovesDoggo merged commit 8990cba into master Feb 17, 2023
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.

4 participants