From 7a96f8bf0e58a87531f69bbd1f309da4be1b82fd Mon Sep 17 00:00:00 2001 From: DS_Starter Date: Thu, 29 Oct 2020 14:15:35 +0000 Subject: [PATCH] 50_SSFile.pm: contrib Version 0.5.0 git-svn-id: https://svn.fhem.de/fhem/trunk@23045 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/50_SSFile.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/contrib/DS_Starter/50_SSFile.pm b/fhem/contrib/DS_Starter/50_SSFile.pm index 8e98d0452..2f32656d9 100644 --- a/fhem/contrib/DS_Starter/50_SSFile.pm +++ b/fhem/contrib/DS_Starter/50_SSFile.pm @@ -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) {