diff --git a/lib/gphoto2/camera.rb b/lib/gphoto2/camera.rb
index <HASH>..<HASH> 100644
--- a/lib/gphoto2/camera.rb
+++ b/lib/gphoto2/camera.rb
@@ -108,7 +108,7 @@ module GPhoto2
     end
 
     def [](key)
-      config[key]
+      config[key.to_s]
     end
 
     def []=(key, value)
Allow config keys to be passed as symbols