Notify empty titles in red during add or update.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
This commit is contained in:
parent
86047f9b40
commit
4bb704f3bf
5
markit
5
markit
@ -198,7 +198,10 @@ def AddUpdateEntry(conn, cur, keywords, index):
|
|||||||
|
|
||||||
if online == True:
|
if online == True:
|
||||||
meta = meta.strip().replace("\n","")
|
meta = meta.strip().replace("\n","")
|
||||||
print("Title: [%s]" % meta)
|
if meta == '':
|
||||||
|
print("\x1B[91mTitle: []\x1B[0m")
|
||||||
|
else:
|
||||||
|
print("Title: [%s]" % meta)
|
||||||
|
|
||||||
if index == None: # Insert a new entry
|
if index == None: # Insert a new entry
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user