Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autotss.py updated: fixed the pathname manipulation for job schedulin… #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
7 changes: 5 additions & 2 deletions autotss.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def importNewDevices(self):
numNew = 0

# Check to make sure devices.ini exists, otherwise warn and continue without new devices
script_path = os.path.dirname(os.path.abspath( __file__ ))
print(script_path)
os.chdir(script_path)
if os.path.isfile('devices.ini'):
config = configparser.ConfigParser()
config.read('devices.ini')
Expand Down Expand Up @@ -258,8 +261,8 @@ def getScriptPath(self, userPath):
return scriptPath

def main():
# autotss('/Users/codsane/tsschecker/tsschecker_macos')
autotss()
autotss('/usr/local/bin/tsschecker')
# autotss()

if __name__ == "__main__":
main()