Sfoglia il codice sorgente

fix get_clear_pattern_file

Fabio De Simone 1 anno fa
parent
commit
10264ac9f9
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      app.py

+ 2 - 0
app.py

@@ -421,6 +421,8 @@ def get_clear_pattern_file(clear_pattern_mode, path=None):
             return CLEAR_PATTERNS['clear_from_out']
         else:
             return random.choice([CLEAR_PATTERNS['clear_from_in'], CLEAR_PATTERNS['clear_sideway']])
+    else:
+        return CLEAR_PATTERNS[clear_pattern_mode]
 
 def run_theta_rho_files(
     file_paths,