Skip to content

Commit

Permalink
Merge branch 'SeedSigner:dev' into windows_Verify
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-Gee authored Mar 20, 2023
2 parents 77ba400 + 9610ce1 commit 431f169
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/seedsigner/gui/screens/psbt_screens.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from dataclasses import dataclass
from lzma import is_check_supported
from PIL import Image, ImageDraw, ImageFilter
from typing import List
import time
Expand Down
5 changes: 3 additions & 2 deletions src/seedsigner/models/settings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json
import os
import platform

from typing import Any, List

Expand All @@ -10,7 +11,7 @@


class Settings(Singleton):
HOSTNAME = os.uname()[1]
HOSTNAME = platform.uname()[1]
SEEDSIGNER_OS = "seedsigner-os"
SETTINGS_FILENAME = "/mnt/microsd/settings.json" if HOSTNAME == SEEDSIGNER_OS else "settings.json"

Expand Down Expand Up @@ -202,4 +203,4 @@ def microsd_handler(action):
# set persistent settings to only have disabled as an option, adding additional help text that microSD is removed
entry = SettingsDefinition.get_settings_entry(SettingsConstants.SETTING__PERSISTENT_SETTINGS)
entry.selection_options = SettingsConstants.OPTIONS__ONLY_DISABLED
entry.help_text = "MicroSD card is removed"
entry.help_text = "MicroSD card is removed"

0 comments on commit 431f169

Please sign in to comment.