Add files via upload

This commit is contained in:
Lerking
2018-02-12 14:26:52 +01:00
committed by GitHub
parent 993195fe22
commit ef7c7644b9
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -8,6 +8,7 @@
import os
import sys
from h2inc_parser import parseline, parseparsed
from h2inc_gui import currentfile_update
import h2inc_gui
tupline = []
@@ -57,6 +58,7 @@ def process_files(sourcedir, destdir):
filehandle = open(f, 'r')
#cnt += 1
print(os.path.basename(f))
currentfile_update(os.path.basename(f))
for lines in filehandle:
print(lines)
preproc = preproc+tuple([parseline(lines)])
+3
View File
@@ -158,6 +158,9 @@ class h2incGUI:
def cfileprogress_update(cnt):
self.cfilevar = cnt
def currentfile_update(current):
self.currentfile = 'Current file: '+current
root = Tk()
root.update()
#root.minsize(350, 210)