Shortcode backend
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
from os import stat, getuid
|
||||
|
||||
def check_sanity():
|
||||
dependancies = ['data/seq.db']
|
||||
dependancies = ['data/seq.db', "data/shortcodes.db"]
|
||||
current_uid = getuid()
|
||||
for dependancy in dependancies:
|
||||
if stat(dependancy).st_uid != current_uid:
|
||||
|
||||
Reference in New Issue
Block a user