diff options
| author | Mirta <mirta@twine-s.com> | 2019-05-12 13:34:12 +0300 |
|---|---|---|
| committer | Mirta <mirta@twine-s.com> | 2019-05-12 13:34:12 +0300 |
| commit | 843774b4d84769783cf0100ad5a91ce3871c83b1 (patch) | |
| tree | 3323ea585fd8475d3720bb4912b62c86c4a7b0f9 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs | |
| parent | 3043e65ad539455ad2510e402e1c8f2d168577d2 (diff) | |
| parent | 524bc43f07339979eda1c812354a9a2e8e0f7e09 (diff) | |
| download | Tango-843774b4d84769783cf0100ad5a91ce3871c83b1.tar.gz Tango-843774b4d84769783cf0100ad5a91ce3871c83b1.zip | |
MERGE
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs')
| -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.")); } } |
