Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
fix for nil bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
will committed Apr 13, 2011
1 parent b4127ae commit 91dd57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def wait_for(db)
break
else
if state == "downloading"
msg = "(#{database[:database_dir_size]} bytes)"
msg = "(#{database[:database_dir_size].to_i} bytes)"
elsif state == "standby"
msg = "(#{database[:current_transaction]}/#{database[:target_transaction]})"
if database[:tracking]
Expand Down

0 comments on commit 91dd57d

Please sign in to comment.