Skip to content

Commit

Permalink
fix: Unexpected indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 4, 2025
1 parent 513595c commit f8ee686
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot/helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ async def before_start(self):
self.up_dest = self.user_dict["upload_paths"][self.up_dest]

if self.ffmpeg_cmds and not isinstance(self.ffmpeg_cmds, list):
ffmpeg_dict = self.user_dict["ffmpeg_cmds"]
if self.user_dict.get("ffmpeg_cmds", None):
ffmpeg_dict = self.user_dict["ffmpeg_cmds"]
self.ffmpeg_cmds = [
value
for key in list(self.ffmpeg_cmds)
Expand Down

0 comments on commit f8ee686

Please sign in to comment.