Skip to content

Commit

Permalink
fixed error when closing after new update
Browse files Browse the repository at this point in the history
  • Loading branch information
E1Bos committed Aug 8, 2023
1 parent 78ce7d7 commit f62a943
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data/instalocker.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@


# Imports modules that are installed with Python
import json, os, random, threading, time, ctypes, shutil, re, webbrowser
import json, os, random, threading, time, ctypes, shutil, re, webbrowser, sys
import tkinter as tk

# endregion
Expand Down Expand Up @@ -190,7 +190,7 @@ def __init__(self):
"https://www.github.com/E1Bos/VALocker/releases/latest/"
)
self.exit()
quit()
sys.exit()

# Defines Controllers
self.mouse = pynmouse.Controller()
Expand Down Expand Up @@ -246,6 +246,7 @@ def exit(self):
pass

self.destroy()
sys.exit()

# endregion

Expand Down

0 comments on commit f62a943

Please sign in to comment.