Skip to content

Commit

Permalink
Completed Project
Browse files Browse the repository at this point in the history
  • Loading branch information
NIK4658 committed Jul 20, 2022
1 parent 9a2249e commit c9c731d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ def progress_bar(current, total, bar_length=20):
# This sleep is ONLY FOR GRAPHICS PURPOSE, can be disabled or turnedo to 0 if full performance is needed
time.sleep(0.01)

# Check Numper of PDF files in the directory
def getNumPDF(onlyfiles):
nPDF = 0
for file in onlyfiles:
if(file.split('.')[1] == 'pdf'):
nPDF += 1
return nPDF


# Reset the global variables
def restoreAll():
global flag
Expand Down Expand Up @@ -160,7 +160,6 @@ def main(filename):
# After the loop is done, close the .txt file
f.close()


#Main Program
if __name__ == "__main__":
fileskipped = 0
Expand Down

0 comments on commit c9c731d

Please sign in to comment.