Remove stupid print:)

This commit is contained in:
2019-07-04 22:27:38 +02:00
parent 06b95e3150
commit fece89620b

View File

@@ -33,9 +33,6 @@ sub load_config {
$toret = pcurse::import_json($file); $toret = pcurse::import_json($file);
} }
$toret = pcurse::sane_defaults($toret); $toret = pcurse::sane_defaults($toret);
foreach my $k(keys %{$toret}) {
print "k: $k, val: $toret->{$k}\n";
}
return $toret; return $toret;
} }
@@ -210,9 +207,7 @@ sub update {
my $fileid = shift; my $fileid = shift;
my $targetpath = shift; my $targetpath = shift;
$uri .= '/download/'.$fileid.'/file'; $uri .= '/download/'.$fileid.'/file';
#print "\n".'Would update from '.$uri."\n";
my ($filename,$file) = pcurse::download($uri); my ($filename,$file) = pcurse::download($uri);
#print 'We got hold of '.$filename;
unless(-e "/tmp/$filename") { unless(-e "/tmp/$filename") {
open my $fh, '>', "/tmp/$filename" or return 0; open my $fh, '>', "/tmp/$filename" or return 0;
print $fh $file; print $fh $file;