Browse Source

Styles are now stored

Manuel Gall 3 years ago
parent
commit
d9331d86bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frames

+ 1 - 1
frames

@@ -44,7 +44,7 @@ class InitFrame < Riddl::Implementation
   def response
     Dir.mkdir(File.join('data',@r.last)) rescue nil
 
-    if @p[0].value.to_s.strip.empty?
+    if !@p[0].value.to_s.empty?
       File.write(File.join('data',@r.last,'style.url'),@p[0].value)
     end