Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ewinge committed May 30, 2016
1 parent b418e8f commit 17bf3da
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions slipsomat.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ def close(self):
print("\nException closing driver:", e)

def restart(self):
self.close()
self.connect()
if "config" in vars(self): # check for test mode
self.close()
self.connect()

@staticmethod
def read_config():
Expand Down Expand Up @@ -658,7 +659,7 @@ def do_push(self, arg):
self.execute(push)

def do_test(self, arg):
"Run Alma 'notification template' test"
"test filename : Run Alma 'notification template' test, using given XML file"
self.execute_args(test_XML, arg)

def complete_test(self, word, line, begin_idx, end_idx):
Expand Down

0 comments on commit 17bf3da

Please sign in to comment.