diff options
author | 10se1ucgo <hammaadu1@gmail.com> | 2016-03-24 22:36:32 +0300 |
---|---|---|
committer | 10se1ucgo <hammaadu1@gmail.com> | 2016-03-24 22:36:32 +0300 |
commit | 6766735fe250a9999c4f612435eb64ee705aa94f (patch) | |
tree | bd61b982a38c5cbb31a71a6f964cdae5b0f33baf /dwt.py | |
parent | d64513da403a66d1df4c4da59838cdbc8ff874af (diff) |
Update checker
Diffstat (limited to 'dwt.py')
-rw-r--r-- | dwt.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,12 +14,12 @@ # # You should have received a copy of the GNU General Public License # along with DisableWinTracking. If not, see <http://www.gnu.org/licenses/>. -import os import logging import sys import io import platform import traceback +import webbrowser from ctypes import windll import wx @@ -68,7 +68,7 @@ class ConsoleDialog(wx.Dialog): self.SetSizer(top_sizer) def submit_issue(self, event): - os.startfile("https://github.com/10se1ucgo/DisableWinTracking/issues/new") + webbrowser.open_new_tab("https://github.com/10se1ucgo/DisableWinTracking/issues/new") class MainFrame(wx.Frame): @@ -236,7 +236,6 @@ class MainPanel(wx.Panel): self.Bind(wx.EVT_BUTTON, handler=self.go, source=go_button) self.SetSizer(top_sizer) - print(self.GetSize()) def select_all_apps(self, event): # Iters through all children of the wxStaticBox of the wxStaticBoxSizer and checks/un checks all wxCheckBoxes. @@ -422,5 +421,6 @@ if __name__ == '__main__': console = ConsoleDialog(sys.stdout) setup_logging() sys.excepthook = exception_hook + dwt_about.update_check(None) frame.Show() wx_app.MainLoop() |