diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-30 17:55:32 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-04-30 17:55:32 +0300 |
| commit | 1c5958f18ac2ee6122baa849b60f4e9ee6b27828 (patch) | |
| tree | 4ca050498d68f24f598cac4a51a59ce4a5f0f60a /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate | |
| parent | 08316b86da18cce886b9269daec1f04cbe377fc3 (diff) | |
| parent | f7a90a31ca1536b2ff798f2a182194ffd221d6db (diff) | |
| download | Tango-1c5958f18ac2ee6122baa849b60f4e9ee6b27828.tar.gz Tango-1c5958f18ac2ee6122baa849b60f4e9ee6b27828.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
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.")); } } |
