Misc cleanup (#73)

* Stop previously running zeroconf instances

* Lots of formatting fixes

* Use f-strings for time delta

* More line fixes

* Update requirements.txt

* More misc cleanup

* Simplify README.md
This commit is contained in:
2024-01-27 22:56:33 -06:00
committed by GitHub
parent d216ae822e
commit d673d7d4bf
21 changed files with 136 additions and 106 deletions

View File

@@ -38,7 +38,7 @@ class Config:
@classmethod
def config_dir(cls):
# Setup the config path
# Set up the config path
if current_system_os() == 'macos':
local_config_path = os.path.expanduser('~/Library/Application Support/Zordon')
elif current_system_os() == 'windows':
@@ -49,7 +49,7 @@ class Config:
@classmethod
def setup_config_dir(cls):
# Setup the config path
# Set up the config path
local_config_dir = cls.config_dir()
if os.path.exists(local_config_dir):
return
@@ -71,4 +71,4 @@ class Config:
except Exception as e:
print(f"An error occurred while setting up the config directory: {e}")
raise
raise