Skip to content

Remove extraneous imports#61

Open
seth10 wants to merge 1 commit into
mindsensors:masterfrom
seth10:clean
Open

Remove extraneous imports#61
seth10 wants to merge 1 commit into
mindsensors:masterfrom
seth10:clean

Conversation

@seth10
Copy link
Copy Markdown
Contributor

@seth10 seth10 commented Oct 20, 2017

No description provided.

import os,sys,inspect,time,thread
import socket,fcntl,struct

currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parentdir = os.path.dirname(currentdir)
sys.path.insert(0,parentdir)

config = ConfigParser.RawConfigParser()
config.read("/usr/local/mindsensors/conf/msdev.cfg")
homefolder = config.get("msdev", "homefolder")
currentdir = os.path.join(homefolder, "programs")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant