Shortcode backend
This commit is contained in:
1 parent
e9258c34f6
commit
fc778a33dd
2 files changed
+50
-9
No files matched your search
@@ -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