From 51bd888765378e38ffd299dc2f925315b561b6f5 Mon Sep 17 00:00:00 2001 From: Jack Darlington Date: Thu, 23 Feb 2017 00:17:14 +0000 Subject: [PATCH] Fix registering watch callback --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index 412b317a..e8b2af88 100755 --- a/cps/web.py +++ b/cps/web.py @@ -1195,7 +1195,7 @@ def google_drive_callback(): @admin_required def watch_gdrive(): if not config.config_google_drive_watch_changes_response: - address = '%scalibre-web/gdrive/watch/callback' % config.config_google_drive_calibre_url_base + address = '%sgdrive/watch/callback' % config.config_google_drive_calibre_url_base notification_id=str(uuid4()) result = gdriveutils.watchChange(Gdrive.Instance().drive, notification_id, 'web_hook', address, gdrive_watch_callback_token, current_milli_time() + 604800*1000)