Skip to content

Commit

Permalink
stdout indent fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lolouk44 committed Mar 20, 2021
1 parent 1d5364d commit 70e37e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Xiaomi_Scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ def customUserDecoder(userDict):
except:
sys.stderr.write(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')} - {sys.exc_info()[1]}\n")
raise
sys.stdout.write(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')} - Config Loaded...\n")
sys.stdout.write(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')} - Config Loaded...\n")

# Failed to open options.json, Loading Config From Environment (Not HA Add-On)
# Failed to open options.json
except FileNotFoundError:
sys.stderr.write(f"{datetime.now().strftime('%Y-%m-%d %H:%M:%S')} - options.json file missing... {error}\n")
raise
Expand Down

0 comments on commit 70e37e9

Please sign in to comment.