Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of git://github.com/jnewland/scout-client into …

…jnewland/master
  • Loading branch information...
commit a1e576af941f7bdfece49321b83a9fb79eb7ae3a 2 parents 6265662 + ff63947
Andre Lewis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/scout/server.rb
2  lib/scout/server.rb
View
@@ -291,7 +291,7 @@ def show_checkin(printer = :p)
# it creates one.
#
def load_history
- unless File.exist? @history_file
+ if !File.exist?(@history_file) || File.zero?(@history_file)
create_blank_history
end
debug "Loading history file..."
Please sign in to comment.
Something went wrong with that request. Please try again.