Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Whitlisting file inputs
#3
Thanks for the ideas!
However when you mentioned 
Code:
filename,fileext = os.path.splitext(element) # replaces a line of yours
if fileext[1:].upper() != 'PNG':
  continue
What line would it replace?

nvm, got it working. Again, thanks!
Reply


Messages In This Thread
Whitlisting file inputs - by radzo73 - 12-22-2019, 03:43 PM
RE: Whitlisting file inputs - by Ofnuts - 12-22-2019, 04:53 PM
RE: Whitlisting file inputs - by radzo73 - 12-22-2019, 07:06 PM

Forum Jump: