Skip to content

Commit 0ce2c2e

Browse files
committed
tabs --> spaces
1 parent f71e93f commit 0ce2c2e

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

sumatra/commands.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,18 @@ def _warning(
5757
print(message)
5858
warnings.showwarning = _warning
5959

60+
6061
def _convertStr(s):
61-
"""Convert string to either int or float or not both."""
62-
try:
63-
ret = int(s)
64-
except ValueError:
65-
try:
66-
ret = float(s)
67-
except ValueError:
68-
ret = s
69-
return ret
62+
"""Convert string to either int or float or not both."""
63+
try:
64+
ret = int(s)
65+
except ValueError:
66+
try:
67+
ret = float(s)
68+
except ValueError:
69+
ret = s
70+
return ret
71+
7072

7173
def parse_executable_str(exec_str):
7274
"""

0 commit comments

Comments
 (0)