Krakob

ScreenshotSort bug

Apr 22nd, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.58 KB | None | 0 0
  1. print ("Generating screenshot and misc. lists.")
  2. for item in itemList:   #Fill screenshot and misc_list
  3.     if item[-db_end_len:] == db_end_format:
  4.         print (item, "detected as a screenshot made with Dropbox. Adding to screenshot list.")
  5.         dropbox_list.append(item)
  6.     elif item[-fraps_end_len:] == fraps_end_format:
  7.         print (item, "detected as a screenshot made with Fraps. Adding to screenshot list.")
  8.         fraps_list.append(item)
  9.     else:               #Item is not a screenshot.
  10.         print (item, "not added to the screenshot list.")
  11.         misc_list.append(item)
Advertisement
Add Comment
Please, Sign In to add comment