forked from self-aware-git/exchange-rates-tg-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathListsCache.py
37 lines (28 loc) · 812 Bytes
/
ListsCache.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ListOfCur = []
ListOfCrypto = []
DictOfFlags = {}
EmptyDictOfFlags = {}
def SetEmptyDictOfFlags(newEmptyDictOfFlags: dict):
global EmptyDictOfFlags
EmptyDictOfFlags = newEmptyDictOfFlags
def GetEmptyDictOfFlags() -> dict:
global EmptyDictOfFlags
return EmptyDictOfFlags
def SetDictOfFlags(newDictOfFlags: dict):
global DictOfFlags
DictOfFlags = newDictOfFlags
def GetDictOfFlags() -> dict:
global DictOfFlags
return DictOfFlags
def SetListOfCrypto(newListOfCrypto: list):
global ListOfCrypto
ListOfCrypto = newListOfCrypto
def GetListOfCrypto() -> list:
global ListOfCrypto
return ListOfCrypto
def SetListOfCur(newListOfCur: list):
global ListOfCur
ListOfCur = newListOfCur
def GetListOfCur() -> list:
global ListOfCur
return ListOfCur