Remove debug print
This commit is contained in:
parent
8c0f5b55f9
commit
7fb6ea83b2
|
@ -1,6 +1,5 @@
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
|
|
||||||
# a minimalistic moodle api wrapper, just for the purpose of this project
|
# a minimalistic moodle api wrapper, just for the purpose of this project
|
||||||
# it's not meant to be complete
|
# it's not meant to be complete
|
||||||
# it's not meant to be efficient
|
# it's not meant to be efficient
|
||||||
|
@ -155,7 +154,6 @@ class Moodle:
|
||||||
f = Folder(folder_module["id"], folder_module["name"], [])
|
f = Folder(folder_module["id"], folder_module["name"], [])
|
||||||
for file in folder_module["contents"]:
|
for file in folder_module["contents"]:
|
||||||
if file["type"] == "file":
|
if file["type"] == "file":
|
||||||
print(file)
|
|
||||||
f.files.append(File(file["filename"], file["filesize"], file["fileurl"]))
|
f.files.append(File(file["filename"], file["filesize"], file["fileurl"]))
|
||||||
else:
|
else:
|
||||||
f.files.append(self.__folder_rec_exploder(file))
|
f.files.append(self.__folder_rec_exploder(file))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user