src/strip.vala
authorAlan Knowles <alan@roojs.com>
Mon, 7 May 2018 01:58:31 +0000 (09:58 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 7 May 2018 01:58:31 +0000 (09:58 +0800)
src/strip.vala

index 28d3b9d..80fc7d7 100644 (file)
@@ -356,7 +356,7 @@ public class Strip : GLib.Object {
        
        // initialize it with known data..
        // that should wipe out dupes.
-       var filesize = this.query("SELECT filesize FROM Attachment WHERE id = %d;".printf(
+       var filesize = this.query("SELECT filesize FROM Attachment WHERE id = %d".printf(
                        int.parse(sid)));       
                if (int.parse(filesize) < 1) {
                GLib.debug("Could not get filesize from id :%s = %s", sid,filesize);