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

View File

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