py-analytics icon indicating copy to clipboard operation
py-analytics copied to clipboard

Error importing module

Open mansilla opened this issue 4 years ago • 0 comments

When importing the analytics module I'm having this error:

  File "/some/path/__init__.py", line 5, in <module>
    import analytics

  File "/some/path/analytics/analytics/__init__.py", line 23
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Seems you should change that for: except Exception as e: in this line here? https://github.com/numan/py-analytics/blob/master/analytics/init.py#L23

mansilla avatar Mar 30 '21 17:03 mansilla