Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
yaq
yaqd-gdrive
Commits
99acda58
Commit
99acda58
authored
Mar 23, 2020
by
Kyle Sunden
Browse files
Remove unaccessable code path
Closes
#4
parent
cf16f713
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
yaqd_gdrive/_gdrive.py
yaqd_gdrive/_gdrive.py
+0
-3
No files found.
yaqd_gdrive/_gdrive.py
View file @
99acda58
...
...
@@ -253,9 +253,6 @@ class GDrive(yaqd_core.Base):
parent
=
item
.
parent
if
item
.
parent
else
self
.
_root_folder_id
if
item
.
kind
==
"folder_create"
:
await
self
.
_create_folder
(
item
.
name
,
parent
,
id_
=
id_
)
elif
item
.
kind
==
"folder_upload"
:
await
self
.
_create_folder
(
item
.
name
,
parent
,
id_
=
id_
)
self
.
dir_enqueue
(
path
,
self
.
_upload_queue
,
id_
)
elif
item
.
kind
==
"file_create"
:
await
self
.
_create_file
(
item
.
name
,
parent
,
path
,
id_
=
id_
)
elif
item
.
kind
==
"file_update"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment