Skip to content

Commit

Permalink
Merge pull request #21 from Mooling0602/main
Browse files Browse the repository at this point in the history
main -> dev
Mooling0602 authored Dec 15, 2024
2 parents fd86d8d + 7a3e930 commit ba26644
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions matrix_sync/entry.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

from typing import Optional
from .utils import tr
from .client import init
from .client import init, clientStatus
from .config import load_config, check_config
from .utils import psi, globals
from .utils.commands import *
@@ -22,7 +22,7 @@ def on_load(server: PluginServerInterface, prev_module):
else:
init()
plugin_command(server)
if server.is_server_startup():
if server.is_server_startup() and clientStatus:
start_sync()

# Automatically run sync processes.
@@ -71,4 +71,4 @@ def on_unload(server: PluginServerInterface):
psi.logger.info(exit_sync())
from .config import lock_is_None
if not lock_is_None:
server.logger.info(tr("on_unload"))
server.logger.info(tr("on_unload"))

0 comments on commit ba26644

Please sign in to comment.