Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/10se1ucgo/DisableWinTracking.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/dwt.py
diff options
context:
space:
mode:
author10se1ucgo <hammaadu1@gmail.com>2016-03-24 22:36:32 +0300
committer10se1ucgo <hammaadu1@gmail.com>2016-03-24 22:36:32 +0300
commit6766735fe250a9999c4f612435eb64ee705aa94f (patch)
treebd61b982a38c5cbb31a71a6f964cdae5b0f33baf /dwt.py
parentd64513da403a66d1df4c4da59838cdbc8ff874af (diff)
Update checker
Diffstat (limited to 'dwt.py')
-rw-r--r--dwt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwt.py b/dwt.py
index 1963672..527b464 100644
--- a/dwt.py
+++ b/dwt.py
@@ -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()