diff --git a/examples/Clock/ClockDS.py b/examples/Clock/ClockDS.py
index <HASH>..<HASH> 100644
--- a/examples/Clock/ClockDS.py
+++ b/examples/Clock/ClockDS.py
@@ -39,8 +39,7 @@ class Clock(Device):
     @attribute(dtype='DevEnum', enum_labels=get_enum_labels(Noon))
     def noon(self):
         time_struct = time.gmtime(time.time())
-        result = Noon.AM if time_struct.tm_hour < 12 else Noon.PM
-        return int(result)
+        return Noon.AM if time_struct.tm_hour < 12 else Noon.PM
 
     @command(dtype_in=float, dtype_out=str)
     def ctime(self, seconds):
Remove casting in ClockDS enum example

The enum can be used directly - no need to cast it to an int before
returning.