Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
5335034d
Commit
5335034d
authored
Oct 04, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplified test
parent
d0f98acb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
datatypes.py
blink/configuration/datatypes.py
+1
-1
No files found.
blink/configuration/datatypes.py
View file @
5335034d
...
@@ -66,7 +66,7 @@ class CustomSoundFile(object):
...
@@ -66,7 +66,7 @@ class CustomSoundFile(object):
def
__init__
(
self
,
path
=
DefaultPath
,
volume
=
100
):
def
__init__
(
self
,
path
=
DefaultPath
,
volume
=
100
):
self
.
path
=
path
self
.
path
=
path
self
.
volume
=
int
(
volume
)
self
.
volume
=
int
(
volume
)
if
self
.
volume
<
0
or
self
.
volume
>
100
:
if
not
(
0
<=
self
.
volume
<=
100
)
:
raise
ValueError
(
'illegal volume level:
%
d'
%
self
.
volume
)
raise
ValueError
(
'illegal volume level:
%
d'
%
self
.
volume
)
def
__getstate__
(
self
):
def
__getstate__
(
self
):
...
...
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