diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-30 09:09:16 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-30 09:09:16 +0300 |
| commit | b3251faca81119a951c176291cec428646500b17 (patch) | |
| tree | af32f341535d6ec99fc3a7e55cd2e116ac13992d /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate | |
| parent | d858956962045f35cf895008b57a507ba39903a9 (diff) | |
| download | Tango-b3251faca81119a951c176291cec428646500b17.tar.gz Tango-b3251faca81119a951c176291cec428646500b17.zip | |
General bug fixes.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs index b64b624fe..3061b9506 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs @@ -119,9 +119,9 @@ namespace Tango.PPC.Common.MachineUpdate { throw LogManager.Log(new InvalidOperationException("Could not perform an update while the machine is not connected.")); } - if (op.Status != MachineStatuses.ReadyToDye) + if (op.IsPrinting) { - throw LogManager.Log(new InvalidOperationException($"Could not perform an update while the machine is in a {op.Status} status.")); + throw LogManager.Log(new InvalidOperationException($"Could not perform an update while the machine is in {op.Status} status.")); } } |
