Skip to content

Commit

Permalink
update common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Dec 8, 2024
1 parent aaaafde commit da27cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ async def proceed_split(self, up_dir, m_size, o_files, gid):

async def generate_sample_video_x(self, dl_path, gid, unwanted_files, ft_delete):
data = (
self.sample_video.split(":") if isinstance(self.sampleVideo, str) else ""
self.sample_video.split(":") if isinstance(self.sample_video, str) else ""
)
if data:
sample_duration = int(data[0]) if data[0] else 60
Expand Down

0 comments on commit da27cd6

Please sign in to comment.