ActionStreamer 0.2.34__tar.gz → 0.3.0__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.
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/Config/Config.py +5 -1
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/PKG-INFO +1 -1
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/pyproject.toml +1 -1
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/CommonFunctions/CommonFunctions.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/CommonFunctions/Wifi/Wifi.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/CommonFunctions/Wifi/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/CommonFunctions/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/Config/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/Device/Device.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/Device/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/Model/Model.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/Model/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/API/API.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/API/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/Event/Event.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/Event/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/File/File.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/File/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/Health/Health.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/Health/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/LogMessage/LogMessage.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/LogMessage/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/Patch/Patch.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/Patch/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/VideoClip/VideoClip.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/VideoClip/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/__init__.py +0 -0
- {actionstreamer-0.2.34 → actionstreamer-0.3.0}/README.md +0 -0
|
@@ -79,13 +79,17 @@ def get_appdata_folder_path(app_name: str) -> str:
|
|
|
79
79
|
return appdata_folder_path
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
def get_config_value(config_folder_path: str, name: str) -> str | None:
|
|
82
|
+
def get_config_value(config_folder_path: str, name: str, default_value: str = '') -> str | None:
|
|
83
83
|
|
|
84
84
|
if not os.path.exists(config_folder_path):
|
|
85
85
|
os.makedirs(config_folder_path)
|
|
86
86
|
|
|
87
87
|
file_path = os.path.join(config_folder_path, name + '.txt')
|
|
88
88
|
|
|
89
|
+
if not os.path.exists(file_path):
|
|
90
|
+
with open(file_path, 'w') as file:
|
|
91
|
+
file.write(default_value)
|
|
92
|
+
|
|
89
93
|
try:
|
|
90
94
|
with open(file_path, 'r') as file:
|
|
91
95
|
contents = file.read()
|
{actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/CommonFunctions/CommonFunctions.py
RENAMED
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/CommonFunctions/Wifi/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/LogMessage/LogMessage.py
RENAMED
|
File without changes
|
{actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/LogMessage/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/VideoClip/VideoClip.py
RENAMED
|
File without changes
|
{actionstreamer-0.2.34 → actionstreamer-0.3.0}/ActionStreamer/WebService/VideoClip/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|