Rename this public_handle -> file_id

master
Ethan Dalool 2020-11-12 04:16:17 -08:00
parent d0cd38e5c5
commit e3cc36f028
1 changed files with 2 additions and 2 deletions

View File

@ -588,11 +588,11 @@ class Mega:
if 'balance' in user_data:
return user_data['balance']
def delete(self, public_handle):
def delete(self, file_id):
"""
Delete a file by its file id.
"""
return self.move(public_handle, self._trash_folder_node_id)
return self.move(file_id, self._trash_folder_node_id)
def delete_url(self, url):
"""