Safe read and write opearation with file lock.

Added file locks.  -  avoiding data leaks.
file handle module  -  To handle file opearations safly.
Added filelock.py  -  licensed file.
linted the pdata.py  -  type checking and formating.
This commit is contained in:
pranav-1711 2022-02-26 16:22:18 +05:30
parent 7c67998dec
commit 9f4be5eb84
6 changed files with 694 additions and 264 deletions

View file

@ -83,7 +83,7 @@ def bootstraping():
# import features
if settings["whitelist"]:
pdata.loadWhitelist()
pdata.load_white_list()
import_discord_bot()
import_games()