|
@@ -70,14 +70,14 @@ def wiki_set(num):
|
|
|
|
|
|
|
|
curs.execute('select data from other where name = ?', ['name'])
|
|
curs.execute('select data from other where name = ?', ['name'])
|
|
|
d = curs.fetchall()
|
|
d = curs.fetchall()
|
|
|
- if(d):
|
|
|
|
|
|
|
+ if(d and d[0][0] != ''):
|
|
|
r += [d[0][0]]
|
|
r += [d[0][0]]
|
|
|
else:
|
|
else:
|
|
|
r += ['무명위키']
|
|
r += ['무명위키']
|
|
|
|
|
|
|
|
curs.execute('select data from other where name = "license"')
|
|
curs.execute('select data from other where name = "license"')
|
|
|
d = curs.fetchall()
|
|
d = curs.fetchall()
|
|
|
- if(d):
|
|
|
|
|
|
|
+ if(d and d[0][0] != ''):
|
|
|
r += [d[0][0]]
|
|
r += [d[0][0]]
|
|
|
else:
|
|
else:
|
|
|
r += ['CC 0']
|
|
r += ['CC 0']
|
|
@@ -86,14 +86,14 @@ def wiki_set(num):
|
|
|
|
|
|
|
|
curs.execute('select data from other where name = "logo"')
|
|
curs.execute('select data from other where name = "logo"')
|
|
|
d = curs.fetchall()
|
|
d = curs.fetchall()
|
|
|
- if(d):
|
|
|
|
|
|
|
+ if(d and d[0][0] != ''):
|
|
|
r += [d[0][0]]
|
|
r += [d[0][0]]
|
|
|
else:
|
|
else:
|
|
|
r += [r[0]]
|
|
r += [r[0]]
|
|
|
|
|
|
|
|
curs.execute("select data from other where name = 'head'")
|
|
curs.execute("select data from other where name = 'head'")
|
|
|
d = curs.fetchall()
|
|
d = curs.fetchall()
|
|
|
- if(d):
|
|
|
|
|
|
|
+ if(d and d[0][0] != ''):
|
|
|
r += [d[0][0]]
|
|
r += [d[0][0]]
|
|
|
else:
|
|
else:
|
|
|
r += ['']
|
|
r += ['']
|
|
@@ -108,7 +108,7 @@ def wiki_set(num):
|
|
|
curs.execute('select data from other where name = "upload"')
|
|
curs.execute('select data from other where name = "upload"')
|
|
|
|
|
|
|
|
r = curs.fetchall()
|
|
r = curs.fetchall()
|
|
|
- if(r):
|
|
|
|
|
|
|
+ if(r and r[0][0] != ''):
|
|
|
return(r[0][0])
|
|
return(r[0][0])
|
|
|
else:
|
|
else:
|
|
|
return(d)
|
|
return(d)
|