Skip to content

Commit 803cdd9

Browse files
author
Arnaud BRETON
committed
Init of DriveState::parent
1 parent fb9bbb7 commit 803cdd9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ def __init__(self, state):
239239

240240
if 'folderId' in state_data:
241241
self.parent = state_data['folderId']
242+
else:
243+
self.parent = []
242244
self.ids = map(str, state_data.get('ids', []))
243245
else:
244246
self.action = 'create'

0 commit comments

Comments
 (0)