[Bugfix]: elif statement was not working.
This commit is contained in:
parent
2bab42a0dc
commit
1f6a44eeef
2
PyLoT.py
2
PyLoT.py
@ -3429,7 +3429,7 @@ class MainWindow(QMainWindow):
|
|||||||
print("Network local magnitude: %4.1f" % net_ml.mag)
|
print("Network local magnitude: %4.1f" % net_ml.mag)
|
||||||
if magscaling is None:
|
if magscaling is None:
|
||||||
scaling = False
|
scaling = False
|
||||||
elif magscaling[0] != 0 and magscaling[1] != 0:
|
elif magscaling[0] == 0.0 and magscaling[1] == 0.0:
|
||||||
scaling = False
|
scaling = False
|
||||||
else:
|
else:
|
||||||
scaling = True
|
scaling = True
|
||||||
|
Loading…
Reference in New Issue
Block a user