Skip to content

Commit

Permalink
fix: IndexError when editing the fitting range
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 11, 2019
1 parent 0f2cf44 commit b489d28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
0.5.6
- maintenance release
- fix: IndexError when editing the fitting range
0.5.5
- maintenance release
0.5.4
Expand Down
2 changes: 1 addition & 1 deletion pyjibe/head/infdoublespinbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def convert_string_to_float(string):
val = float(string)
except ValueError:
string = string.strip()
if string[0] == "-":
if string.startswith("-"):
asign = -1
else:
asign = 1
Expand Down

0 comments on commit b489d28

Please sign in to comment.