forked from Eve-PySpy/PySpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatusmsg.py
More file actions
24 lines (20 loc) · 760 Bytes
/
statusmsg.py
File metadata and controls
24 lines (20 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# !/usr/local/bin/python3.6
# MIT licensed
# Copyright (c) 2018 White Russsian
# Github: <https://github.com/Eve-PySpy/PySpy>**********************
''' Provides functionality to update the status message in the
wxPython GUi.
'''
# **********************************************************************
import logging
import time
import wx
import __main__
import config
# cSpell Checker - Correct Words****************************************
# // cSpell:words russsian
# **********************************************************************
Logger = logging.getLogger(__name__)
# Example call: Logger.info("Something badhappened", exc_info=True) ****
def push_status(msg):
wx.CallAfter(__main__.app.PySpy.updateStatusbar, msg)