mirror of
https://github.com/blw1138/Zordon.git
synced 2026-02-05 21:56:10 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user