Przeglądaj źródła

"not" vergessen :(

gc-server3 9 miesięcy temu
rodzic
commit
90030d00c8
2 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      database/db_create.py
  2. BIN
      dist/gctools.exe

+ 1 - 1
database/db_create.py

@@ -44,7 +44,7 @@ def create(config_file: str = "database/CARLO.json"):
                 continue
 
             f.write(f"del {cfg.logs_dir}\\{current_table['dest']}*.* /Q /F >nul 2>nul\n\n")
-            f.write('if "%1"=="" goto :increment\n')
+            f.write('if not "%1"=="" goto :increment\n')
             f.write("\n:full\n")
             f.write(f'  call sql_query.bat "TRUNCATE TABLE {full_table_name}"\n')
 

BIN
dist/gctools.exe