From bf8eecb5adbd94c40ab3233414eb2f68257769f7 Mon Sep 17 00:00:00 2001 From: Vietworm Date: Fri, 26 Feb 2016 10:53:50 +0700 Subject: [PATCH] Using "screen_" for name capture prefix --- capture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capture.py b/capture.py index ef13ca1..4314aa8 100644 --- a/capture.py +++ b/capture.py @@ -21,7 +21,7 @@ pb = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB,False,8,sz[0],sz[1]) pb = pb.get_from_drawable(w,w.get_colormap(),0,0,0,0,sz[0],sz[1]) if (pb != None): - pb.save("capture/screenshot_"+ str(int(time.time())) +".png","png") + pb.save("capture/screen_"+ str(int(time.time())) +".png","png") print "Screenshot " + str(i) + " saved." else: print "Unable to get the screenshot."