naming
This commit is contained in:
parent
65c45782be
commit
9c85fb1866
6
load.py
6
load.py
|
@ -29,7 +29,7 @@ import myNotebook as nb
|
||||||
from config import config, appname, appversion
|
from config import config, appname, appversion
|
||||||
from py_discord_sdk import discordsdk as dsdk
|
from py_discord_sdk import discordsdk as dsdk
|
||||||
|
|
||||||
plugin_name = "DiscordPresenceNG"
|
plugin_name = "EliteRPC"
|
||||||
|
|
||||||
logger = logging.getLogger(f'{appname}.{plugin_name}')
|
logger = logging.getLogger(f'{appname}.{plugin_name}')
|
||||||
|
|
||||||
|
@ -170,7 +170,7 @@ def plugin_start3(plugin_dir):
|
||||||
this.discord_thread = threading.Thread(target=check_run, args=(plugin_dir,))
|
this.discord_thread = threading.Thread(target=check_run, args=(plugin_dir,))
|
||||||
this.discord_thread.setDaemon(True)
|
this.discord_thread.setDaemon(True)
|
||||||
this.discord_thread.start()
|
this.discord_thread.start()
|
||||||
return 'DiscordPresenceNG'
|
return 'EliteRPC'
|
||||||
|
|
||||||
|
|
||||||
def plugin_stop():
|
def plugin_stop():
|
||||||
|
@ -314,4 +314,4 @@ def run_callbacks():
|
||||||
time.sleep(1 / 10)
|
time.sleep(1 / 10)
|
||||||
this.app.run_callbacks()
|
this.app.run_callbacks()
|
||||||
except Exception:
|
except Exception:
|
||||||
check_run(this.plugin_dir)
|
check_run(this.plugin_dir)
|
||||||
|
|
Loading…
Reference in a new issue