diff --git a/pyglance/glance/io.py b/pyglance/glance/io.py
index 19ee84ac31f4010870acc5b3749ffc4b4f7b50e1..43da00134bed99e45e6fadd5e87f06793542ea2a 100644
--- a/pyglance/glance/io.py
+++ b/pyglance/glance/io.py
@@ -77,7 +77,7 @@ class hdf(SD):
         if (scaling_method == 0) :
             return raw_data_copy
         if not ((scaling_method is None) or (scaling_method > 1)) :
-            LOG.warn ('Scaling method of \"' + scaling_method + '\" will be ignored in favor of hdf standard method. " \
+            LOG.warn ('Scaling method of \"' + str(scaling_method) + '\" will be ignored in favor of hdf standard method. " \
                       + "This may cause problems with data consistency')
         
         # create the scaled version of the data