adding wakatime directory to python path in cli script

This commit is contained in:
Alan Hamlett 2013-07-22 18:30:53 -07:00
parent 9f26012ddd
commit 24ebff0d3e

View file

@ -1,3 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
wakatime-cli
@ -11,7 +12,9 @@
from __future__ import print_function
import os
import sys
sys.path.insert(0, os.path.abspath(__file__))
import wakatime
if __name__ == '__main__':