Skip to content

Commit dfcdb82

Browse files
authored
Update main.py
1 parent 84dc3bb commit dfcdb82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,7 +897,7 @@ def on_reset_settings_action(self, action, param):
897897
self.dialog_reset = Dialog_reset(self)
898898

899899
def load_locales(self):
900-
os.popen("cd ~/.var/app/com.github.vikdevelop.timer/cache && wget -c {}/{}".format(BASE_URL, lang))
900+
os.popen("cd ~/.var/app/com.github.vikdevelop.timer/cache && wget -c {}/{} > /dev/null 2>&1 && pkill -15 wget && pkill -15 sh".format(BASE_URL, lang))
901901

902902
def create_action(self, name, callback, shortcuts=None):
903903
action = Gio.SimpleAction.new(name, None)

0 commit comments

Comments
 (0)