Przeglądaj źródła

fix get_clear_pattern_file

Fabio De Simone 1 rok temu
rodzic
commit
10264ac9f9
1 zmienionych plików z 2 dodań i 0 usunięć
  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']
             return CLEAR_PATTERNS['clear_from_out']
         else:
         else:
             return random.choice([CLEAR_PATTERNS['clear_from_in'], CLEAR_PATTERNS['clear_sideway']])
             return random.choice([CLEAR_PATTERNS['clear_from_in'], CLEAR_PATTERNS['clear_sideway']])
+    else:
+        return CLEAR_PATTERNS[clear_pattern_mode]
 
 
 def run_theta_rho_files(
 def run_theta_rho_files(
     file_paths,
     file_paths,