Commit ddcb1a6f authored by Kyle Sunden's avatar Kyle Sunden
Browse files

Remove client secrets, use standard main

Closes #3
parent cf16f713
......@@ -380,14 +380,4 @@ class GDrive(yaqd_core.Base):
if __name__ == "__main__":
GDrive.defaults.update(
{
"client_id": "943700362860-7fmktmg2rjrblt4v2qh86141l6vg7qju.apps.googleusercontent.com",
"client_secret": "pKIjNEasosRswlt4xWOxQCpD",
"root_folder_id": "1oZOabPMoTO2XPE5mWOC_9XOR9PsUgepC",
}
)
gdrive = GDrive("test", GDrive.defaults, "")
loop = asyncio.get_event_loop()
loop.run_until_complete(gdrive._generate_ids())
loop.run_until_complete(gdrive._create_file("test.py", gdrive._root_folder_id, __file__))
GDrive.main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment