Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-13 15:34:52 +02:00
parent 09552c89e6
commit 708e670a13

View File

@ -34,6 +34,7 @@ class GdriveSync(plugins.Plugin):
]
def on_loaded(self):
logging.info("TEST")
# client_secrets.json needs to be not empty
if os.stat("/root/client_secrets.json").st_size == 0:
logging.error("[gDriveSync] /root/client_secrets.json is empty. Please RTFM!")