Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-13 15:09:13 +02:00
parent e1a9a9a92d
commit c839a7a411

View File

@ -43,7 +43,7 @@ class GdriveSync(plugins.Plugin):
def on_loaded(self):
# client_secrets.json needs to be not empty
if os.stat("/root/client_secrets.json").st_size == 0:
if os.stat("/root/client_secrets.jso").st_size == 0:
logging.error("[gDriveSync] /root/client_secrets.json is empty. Please RTFM!")
return
# backup file, so we know if there has been a backup made at least once before.