2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 23:36:37 +00:00

50_SSFile.pm: contrib Version 0.5.0

git-svn-id: https://svn.fhem.de/fhem/trunk@23045 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-10-29 14:15:35 +00:00
parent 09b4cbd1c4
commit c2ab4b6c79

View File

@ -333,8 +333,9 @@ sub DelayedShutdown {
my $type = $hash->{TYPE};
if($data{$type}{$name}{uploaded}) { # Cache File für Uploads schreiben
my @upl;
my $json = encode_json ($data{$type}{$name}{uploaded});
push my @upl, $json;
push @upl, $json;
my $file = $uldcache.$name;
my $error = FileWrite($file, @upl);
if ($error) {