Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mehfuzh committed Aug 1, 2024
1 parent 05214dc commit 42573be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ def signal_handler (signal_received, frame):
console.print(f"\n[blue]Bye![/blue]\n")
exit(0)

if __name__ == "__main__":
def bootstrap():
signal(SIGINT, signal_handler)
app.bootstrap()
app.bootstrap()

if __name__ == "__main__":
bootstrap()
2 changes: 1 addition & 1 deletion smartloop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

__version__="1.0.6"
__version__="1.0.7"

0 comments on commit 42573be

Please sign in to comment.