Răsfoiți Sursa

Anpassungen Reisacher lokal

Global Cube 2 ani în urmă
părinte
comite
631221d32e
4 a modificat fișierele cu 10 adăugiri și 5 ștergeri
  1. 1 1
      .gitignore
  2. 4 3
      config/users.csv
  3. 4 0
      webservice/file_io.bat
  4. 1 1
      webservice/file_io.py

+ 1 - 1
.gitignore

@@ -1,2 +1,2 @@
 save/
-
+__pycache__

+ 4 - 3
config/users.csv

@@ -1,16 +1,17 @@
 lastname;firstname;username;password;title;admin;write;department;costcenter
 Admin;Global;Admin;kRZK9H;Admin;True;True;[];[]
+Cube;Global;global;test;Admin;True;True;[];[]
 Berning;Matthias;MBE;BHS5gy;GL;;True;[];[]
 Köppel;Tobias;TKP;G9zHjA;GL;;True;[];[]
 Reisacher;Peter;PR;ITOwDa;GL;;;[];[]
 Schlachter;Andreas;ASL;2wLpOl;GL;;;[];[]
 Schulmeyer;Swen;SSC;5vdkrY;GL;;;[];[]
 Vuglec;Bruno;BV;3NlIwG;GSL;;;["10"];[]
-Maier;Udo;UM;DeKbko;GSL;;;["30","40"];[]
+Maier;Udo;UM;DeKbko;GSL;;;["40"];[]
 Karsten;Klein;KKL;tPtlMj;GSL;;;["30"];[]
-Kloiber;Alexander;AK;oVxKDG;GSL;;;["50"];[]
+Herd;Robin;RHE;oVxKDG;GSL;;;["50"];[]
 Vollmer;Marc;MVO;n1crzN;GSL;;;["55"];[]
-Daian;Vasilios;VPO;vMpYvh;GSL;;;["3", "81", "82"];[]
+Schlachter;Andreas;VPO;vMpYvh;GSL;;;["3", "81", "82"];[]
 Fischer;Stefan;SF;6VCmDB;Spartenleiter TUZ;;;[];["T&Z"]
 Städele;Wilhelm;SC;npG644;Spartenleiter GA;;;[];["GA"]
 n.n.;;NN1;tKtrQF;Spartenleiter NA;;;[];["NA", "NA Flotte"]

+ 4 - 0
webservice/file_io.bat

@@ -0,0 +1,4 @@
+@echo off
+cd /d %~dp0
+D:\GAPS_BMW\Portal\Tasks\python\python.exe file_io.py
+pause

+ 1 - 1
webservice/file_io.py

@@ -162,5 +162,5 @@ def hash(filename):
 
 if __name__ == '__main__':
     app.secret_key = os.urandom(24)
-    app.run(host='0.0.0.0', port='8082', debug=True)
+    app.run(host='0.0.0.0', port='8084', debug=True)
     # new_file('2022')