From ea26a735e1eefe878719ba4358d6790fb740aafd Mon Sep 17 00:00:00 2001 From: "Ching Yi, Chan" Date: Sun, 26 May 2019 16:30:55 +0800 Subject: [PATCH] fix syntax error on py 3.6 --- analytics/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analytics/__init__.py b/analytics/__init__.py index 9732075..f1a927e 100644 --- a/analytics/__init__.py +++ b/analytics/__init__.py @@ -20,7 +20,7 @@ try: VERSION = __import__('pkg_resources') \ .get_distribution('analytics').version -except Exception, e: +except Exception as e: VERSION = 'unknown'