diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-04-02 20:30:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-04-02 20:30:43 +0100 |
commit | 170ba6f0675a21b2032900aa0d88727ce60c0b8d (patch) | |
tree | f0d636461c7d911b29c2d4295d3263772246d5b7 /everything.py | |
parent | 7d5fb6ffc4aafc74566cdae575fae64adcad4075 (diff) |
add filters for internet category
Diffstat (limited to 'everything.py')
-rwxr-xr-x | everything.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/everything.py b/everything.py index f1d1f8e..797d579 100755 --- a/everything.py +++ b/everything.py @@ -38,17 +38,17 @@ class Everything(QtWidgets.QMainWindow): with sqlite3.connect('/var/lib/epkg/db/epkg.db') as db: cursor=db.cursor() cursor.execute(''' - SELECT - a.category AS cat, - a.name AS pn, - a.version AS av, - i.version AS iv, - a.description AS descr - FROM remote_packages AS a - LEFT JOIN local_packages AS i - ON a.category = i.category - AND a.name = i.name - AND a.slot = i.slot + SELECT + a.category AS cat, + a.name AS pn, + a.version AS av, + i.version AS iv, + a.description AS descr + FROM remote_packages AS a + LEFT JOIN local_packages AS i + ON a.category = i.category + AND a.name = i.name + AND a.slot = i.slot ''') rows = cursor.fetchall() |