Skip to content

Commit

Permalink
Merge pull request #12 from erbridge/master
Browse files Browse the repository at this point in the history
Add the current directory to sys.path.
  • Loading branch information
bubenkoff committed Jan 27, 2015
2 parents 33b951e + a848f2c commit cb353aa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion table_cleaner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Author: Andrei Misarca

import table_commons
import copy
import os.path
import sys

this_dir = os.path.dirname(os.path.realpath(__file__))
if this_dir not in sys.path:
sys.path += [this_dir]

import table_commons


class TableCleanerCommand(table_commons.TextCommand):
Expand Down
7 changes: 7 additions & 0 deletions table_import.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Author: Andrei Misarca

import os.path
import sys

this_dir = os.path.dirname(os.path.realpath(__file__))
if this_dir not in sys.path:
sys.path += [this_dir]

import table_commons


Expand Down

0 comments on commit cb353aa

Please sign in to comment.