Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move import line to more logical spot #482

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions default-toshy-config/toshy_config.py
Original file line number Diff line number Diff line change
@@ -159,8 +159,9 @@
import lib.env

from lib.env_context import EnvironmentInfo
from lib.settings_class import Settings
from lib.machine_context import get_machine_id_hash
from lib.notification_manager import NotificationManager
from lib.settings_class import Settings

assets_path = os.path.join(current_folder_path, 'assets')
icon_file_active = os.path.join(assets_path, "toshy_app_icon_rainbow.svg")
@@ -309,7 +310,6 @@
# Allows syncing a single config file between different machines without overlapping the
# hardware/media key overrides, or any other machine-specific customization.
# Get the ID for each machine with the `toshy-machine-id` command, for use in `if` conditions.
from lib.machine_context import get_machine_id_hash
MACHINE_ID = get_machine_id_hash()


4 changes: 2 additions & 2 deletions default-toshy-config/toshy_config_barebones.py
Original file line number Diff line number Diff line change
@@ -78,8 +78,9 @@
import lib.env

from lib.env_context import EnvironmentInfo
from lib.settings_class import Settings
from lib.machine_context import get_machine_id_hash
from lib.notification_manager import NotificationManager
from lib.settings_class import Settings

assets_path = os.path.join(current_folder_path, 'assets')
icon_file_active = os.path.join(assets_path, "toshy_app_icon_rainbow.svg")
@@ -228,7 +229,6 @@
# Allows syncing a single config file between different machines without overlapping the
# hardware/media key overrides, or any other machine-specific customization.
# Get the ID for each machine with the `toshy-machine-id` command, for use in `if` conditions.
from lib.machine_context import get_machine_id_hash
MACHINE_ID = get_machine_id_hash()