diff --git a/buttond.py b/buttond.py index d2743f7..5aaded3 100755 --- a/buttond.py +++ b/buttond.py @@ -79,3 +79,6 @@ if __name__ == '__main__': pause() except KeyboardInterrupt: print() +else: + # indicate prefered method of sleeping when laoded as a module + print('call signal.pause() instead of time.sleep()')