projects
/
meabook
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finished work with avatar
[meabook]
/
database
/
SQLite.py
diff --git
a/database/SQLite.py
b/database/SQLite.py
index
28229cb
..
3b10611
100644
(file)
--- a/
database/SQLite.py
+++ b/
database/SQLite.py
@@
-83,8
+83,8
@@
class SQLite:
def get_fields(self):
"""Returns all fields from FIELDS table."""
def get_fields(self):
"""Returns all fields from FIELDS table."""
- return [item[0] for item in self.conn.execute( \
- "SELECT name FROM fields").fetchall()]
+ return [item[0] for item in self.conn.execute("SELECT name FROM \
+ fields").fetchall() if item[0]!='image']
# operations with DATA table
def add_entry(self, entry):
# operations with DATA table
def add_entry(self, entry):