serverwatcher 3.9__tar.gz → 3.9.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: serverwatcher
3
- Version: 3.9
3
+ Version: 3.9.1
4
4
  Summary: A HungerLib-powered Minecraft server automation engine.
5
5
  Author: iFamished
6
6
  License: GPL-3.0
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "serverwatcher"
10
- version = "3.9"
10
+ version = "3.9.1"
11
11
  description = "A HungerLib-powered Minecraft server automation engine."
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.10"
@@ -14,8 +14,6 @@ from hungerlib.addons import (
14
14
  )
15
15
  from hungerlib.addons.configmap import load_or_default
16
16
 
17
- from serverwatcher.config import GlobalConfig, MessagesConfig, WatcherConfig
18
-
19
17
  # Set directory
20
18
  BASE_DIR = os.getcwd()
21
19
  PACKAGE_DIR = os.path.dirname(__file__)
@@ -26,9 +24,10 @@ class ServerWatcher:
26
24
  # Load all configs in /config using configmap
27
25
  cfgmap = load_or_default("config", skip_files=[])
28
26
 
29
- self.global_cfg: GlobalConfig = cfgmap["global.yaml"]
30
- self.messages: MessagesConfig = cfgmap["messages.yaml"]
31
- self.cfg: WatcherConfig = cfgmap["watcher.yaml"]
27
+ self.global_cfg = cfgmap["global.yaml"]
28
+ self.messages = cfgmap["messages.yaml"]
29
+ self.cfg = cfgmap["watcher.yaml"]
30
+
32
31
 
33
32
  self.panel = Panel(
34
33
  name=self.global_cfg.panel_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: serverwatcher
3
- Version: 3.9
3
+ Version: 3.9.1
4
4
  Summary: A HungerLib-powered Minecraft server automation engine.
5
5
  Author: iFamished
6
6
  License: GPL-3.0
File without changes
File without changes
File without changes