upload() minor tidy up
This commit is contained in:
parent
38db6760d5
commit
be7fa68da8
1 changed files with 1 additions and 3 deletions
|
@ -444,9 +444,7 @@ class Mega(object):
|
|||
#determine storage node
|
||||
if dest is None:
|
||||
#if none set, upload to cloud drive node
|
||||
if hasattr(self, 'root_id'):
|
||||
root_id = getattr(self, 'root_id')
|
||||
else:
|
||||
if not hasattr(self, 'root_id'):
|
||||
self.get_files()
|
||||
dest = self.root_id
|
||||
|
||||
|
|
Loading…
Reference in a new issue