From 622b1435f10b21b249ff7203d0ab56f94f4b5618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E6=AA=8E?= Date: Thu, 6 Apr 2017 22:50:05 +0800 Subject: [PATCH] Fix #172 --- cps/gdriveutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/gdriveutils.py b/cps/gdriveutils.py index b4036083..09cb7987 100644 --- a/cps/gdriveutils.py +++ b/cps/gdriveutils.py @@ -362,6 +362,6 @@ def getChangeById (drive, change_id): try: change = drive.auth.service.changes().get(changeId=change_id).execute() return change - except errors.HttpError, error: + except (errors.HttpError, error): web.app.logger.exception(error) return None