diff app/models/tweet.rb @ 136:59991d10f8a3

Fix the variable as well while at it
author nanaya <me@nanaya.pro>
date Wed, 13 Dec 2017 02:52:22 +0900
parents 3fc882b0884d
children 00dc9346dfaa
line wrap: on
line diff
--- a/app/models/tweet.rb	Wed Dec 13 02:51:27 2017 +0900
+++ b/app/models/tweet.rb	Wed Dec 13 02:52:22 2017 +0900
@@ -50,6 +50,6 @@
   def client_config_id
     @client_config_id ||= 0
 
-    @client_config_id % $cfg[:twitter].size
+    @client_config_id %= $cfg[:twitter].size
   end
 end