Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tuneit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladimir Vaskov
tuneit
Commits
84da74a8
Commit
84da74a8
authored
Jan 11, 2025
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fix
parent
52bd55f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
__init__.py
src/settings/__init__.py
+2
-0
No files found.
src/settings/__init__.py
View file @
84da74a8
...
...
@@ -15,6 +15,8 @@ class Setting:
self
.
default
=
setting_data
.
get
(
'default'
)
if
len
(
setting_data
.
get
(
'gtype'
))
>
2
:
self
.
gtype
=
setting_data
.
get
(
'gtype'
)[
0
]
else
:
self
.
gtype
=
setting_data
.
get
(
'gtype'
)
self
.
map
=
setting_data
.
get
(
'map'
,
self
.
_default_map
())
self
.
data
=
setting_data
.
get
(
'data'
,
{})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment