diff options
| author | Avi Levkovich <avi@twine-s.com> | 2020-09-30 12:02:45 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2020-09-30 12:02:45 +0300 |
| commit | 5ba1c2b05033d2ffddf394dd1ed7067eaff1c5bc (patch) | |
| tree | 8f32c9ab05518429e3b6a52e78b82229f276397f /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate | |
| parent | b2420e1b64c155020bd8b9355ea1135f6e4a9b36 (diff) | |
| parent | 4748b626794f346d6c7989413fe76d609966cdf9 (diff) | |
| download | Tango-5ba1c2b05033d2ffddf394dd1ed7067eaff1c5bc.tar.gz Tango-5ba1c2b05033d2ffddf394dd1ed7067eaff1c5bc.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 4f8be0a6e..0ad9b411e 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs @@ -970,9 +970,9 @@ namespace Tango.PPC.Common.MachineUpdate { LogManager.Log("Starting database update..."); - if (!_machineProvider.MachineOperator.CanPrint) + if (_machineProvider.MachineOperator.IsPrinting) { - throw LogManager.Log(new InvalidOperationException($"Could not perform an update while the machine is in {_machineProvider.MachineOperator.Status} status.")); + throw LogManager.Log(new InvalidOperationException($"Could not perform a database update while the machine is dyeing.")); } UpdateProgress("Updating Database", "Initializing..."); |
