Skip to content

Commit

Permalink
Reformat code, improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Nov 22, 2022
1 parent b40d0f1 commit 2133b87
Show file tree
Hide file tree
Showing 6 changed files with 266 additions and 200 deletions.
11 changes: 3 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ dist/

# Debug file
debug.txt
/.vs/VSWorkspaceState.json
/.vs/slnx.sqlite
/.vs/PythonSettings.json
/.vs/python-thermia-online-api/v17/.suo
/.vs/python-thermia-online-api/v17
/.vs/python-thermia-online-api/FileContentIndex/read.lock
/.vs/python-thermia-online-api/FileContentIndex/42724ed3-08c6-4109-bd61-481f8fb2e2e8.vsidx
/.vs/python-thermia-online-api/FileContentIndex

# Visual Studio related files
/.vs/*
3 changes: 2 additions & 1 deletion ThermiaOnlineAPI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
from ThermiaOnlineAPI.api.ThermiaAPI import ThermiaAPI
from ThermiaOnlineAPI.exceptions import AuthenticationException, NetworkException
from ThermiaOnlineAPI.model.HeatPump import ThermiaHeatPump
from ThermiaOnlineAPI.const import THERMIA_API_TYPE_CLASSIC


class Thermia:
def __init__(self, username, password, api_type="classic"):
def __init__(self, username, password, api_type=THERMIA_API_TYPE_CLASSIC):
self._username = username
self._password = password

Expand Down
Loading

0 comments on commit 2133b87

Please sign in to comment.