Formatting and stuff

This commit is contained in:
2024-02-23 11:07:50 +01:00
parent 8951837d04
commit d7fa8945d1
13 changed files with 28 additions and 35 deletions

View File

@@ -16,7 +16,7 @@ class TikTokUploadEngine(BaseUploadEngine):
def upload(self):
cookies = self.get_setting(type="cookies")["cookies"]
if cookies == None:
if cookies is None:
gr.Warning(
"Skipping upload to TikTok because no cookies were provided. Please provide cookies in the settings."
)