moved find()
This commit is contained in:
parent
9b9530f453
commit
63d39dd8cd
1 changed files with 2 additions and 2 deletions
|
@ -134,6 +134,8 @@ class Mega(object):
|
||||||
file['a'] = {'n': 'Rubbish Bin'}
|
file['a'] = {'n': 'Rubbish Bin'}
|
||||||
return file
|
return file
|
||||||
|
|
||||||
|
##########################################################################
|
||||||
|
# GET
|
||||||
def find(self, filename):
|
def find(self, filename):
|
||||||
'''
|
'''
|
||||||
Return file object from given filename
|
Return file object from given filename
|
||||||
|
@ -143,8 +145,6 @@ class Mega(object):
|
||||||
if file[1]['a'] and file[1]['a']['n'] == filename:
|
if file[1]['a'] and file[1]['a']['n'] == filename:
|
||||||
return file
|
return file
|
||||||
|
|
||||||
##########################################################################
|
|
||||||
# GET
|
|
||||||
def get_files(self):
|
def get_files(self):
|
||||||
'''
|
'''
|
||||||
Get all files in account
|
Get all files in account
|
||||||
|
|
Loading…
Reference in a new issue