mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
10_ZWave.pm: on windows image files are corrupted (Forum #75682)
git-svn-id: https://svn.fhem.de/fhem/trunk@14940 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dccc7c40aa
commit
2a2cefa4bf
@ -5081,6 +5081,7 @@ ZWave_getPic($$)
|
||||
Log 3, "ZWave: downloading $url/$img for $model";
|
||||
my $data = GetFileFromURL("$url/$img");
|
||||
if($data && open(FH,">$fn")) {
|
||||
binmode(FH);
|
||||
print FH $data;
|
||||
close(FH)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user