Tickets

Issues

# TODO: Count the number of lines to determine the mimetype


                # TODO: Count the number of lines to determine the mimetype
                # as there is the same number of file with the same mimetype
                # if len(mimecount) > 1 and mimecount[0][1] == mimecount[1][1]:

                if len(mimecount):
                    mimetype = mimecount[0][0]

History
    Changed by Laurent DEFERT on 2023-01-18 12:16:41 during fbea579dac61d4988aca4bf9bd4c0578003a2385
  • File: kissspm/tabs/forge.py - staticpm/tabs/forge.py
  • Changed by Laurent Defert on 2015-03-14 10:50:52 during 3ede08e13a35c2f0ea414d34b79e826cc25250f6
  • Content: updated from
                # TODO: Count the number of lines to determine the mimetype
                # as there is the same number of file with the same mimetype
                # if len(mimecount) > 1 and mimecount[0][1] == mimecount[1][1]:
    
                if len(mimecount):
                    mimetype = mimecount[0][0]
    
  • Changed by Laurent Defert on 2014-10-31 13:13:25 during 61989cfba0c7e379694bca6e2c36aa22ee7bee17
  • Content: updated from
                # TODO: Count the number of lines to determine the mimetype
                # as there is the same number of file with the same mimetype
                #if len(mimecount) > 1 and mimecount[0][1] == mimecount[1][1]:
    
                if len(mimecount):
                    mimetype = mimecount[0][0]