You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# read the lang file to see what langague was set by user
8
18
ifos.path.exists(LANG_FILE):
9
-
10
19
# open the lang file
11
20
withopen(LANG_FILE, "r") asfile:
12
-
13
-
# read the lang file
14
-
lang=file.read().strip()
15
-
16
-
17
-
ifnotlang:
18
-
lang='en'# if file is empty, default to english
19
-
21
+
# read the lang file
22
+
lang=file.read().strip()
23
+
24
+
ifnotlang:
25
+
lang='en'# if file is empty, default to english
20
26
else:
21
-
lang='en'# default to English if there is not file but there will always be a file this is just in case ALSO THIS IS SO @icrcode DOESNT COMPLAIN ABOUT MY CODE NOT BEING CLEAN AND WHATEVER
0 commit comments