Fix clone

This commit is contained in:
Anas 2021-08-16 07:53:39 +03:00 committed by GitHub
parent 497e45e397
commit 573cc26524
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ def cloneNode(update, context):
else:
drive = gdriveTools.GoogleDriveHelper(name)
gid = ''.join(random.SystemRandom().choices(string.ascii_letters + string.digits, k=12))
clone_status = CloneStatus(drive, clonesize, update, gid)
clone_status = CloneStatus(drive, size, update, gid)
with download_dict_lock:
download_dict[update.message.message_id] = clone_status
sendStatusMessage(update, context.bot)