Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

import os
import sys

sd = os.path.abspath(os.path.dirname(__file__))
sys.path.append(sd)
8 changes: 0 additions & 8 deletions core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

import os
import sys

sd = os.path.abspath(os.path.dirname(__file__))
sys.path.append(sd)
8 changes: 7 additions & 1 deletion sample.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

import sys
import os
os.chdir(os.path.dirname(os.path.abspath(__file__)))
import pathlib


root_path = pathlib.Path(os.path.abspath(__file__)).parent
sys.path.append(str(root_path))


from core.drucker_worker_client import DruckerWorkerClient

Expand Down