fixes to wakatime package to allow directly importing. don't add duplicate handlers to logger in log.py.
22 lines
462 B
Python
22 lines
462 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
wakatime-cli
|
|
~~~~~~~~~~~~
|
|
|
|
Action event appender for Wakati.Me, auto time tracking for text editors.
|
|
|
|
:copyright: (c) 2013 Alan Hamlett.
|
|
:license: BSD, see LICENSE for more details.
|
|
"""
|
|
|
|
from __future__ import print_function
|
|
|
|
import os
|
|
import sys
|
|
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
|
import wakatime
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(wakatime.main(sys.argv))
|