Fixing some bugs.
This commit is contained in:
parent
70078b6c1e
commit
bb653e91ed
@ -82,7 +82,6 @@ sub print($self) {
|
||||
seek $fh, 0xa, 0;
|
||||
read $fh, my $offset, 4;
|
||||
$offset = unpack 'V', $offset;
|
||||
say $offset;
|
||||
seek( $fh, $offset, 0 );
|
||||
while ( 0 != read $fh, my $read, int( 384 / 8 ) ) {
|
||||
$read =
|
||||
|
@ -275,9 +275,8 @@ sub _on_run_script( $self, $instance_id, $exd_dir, $device, $verbose = 1 ) {
|
||||
my ( $stdout, $stderr, $exit ) = capture {
|
||||
eval { $exd->execute($printer); };
|
||||
if ($@) {
|
||||
die $@;
|
||||
if ($verbose) {
|
||||
$self->_log( $@ . "\n" );
|
||||
$self->_log( $instance_id, $@ . "\n" );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user