forked from NyashniyVladya/Translator3000
-
Notifications
You must be signed in to change notification settings - Fork 0
/
imports.rpy
34 lines (29 loc) · 867 Bytes
/
imports.rpy
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
init -10 python in _translator3000:
# Минимальная поддерживаемая версия Ren'Py - 6.99.12.4.
# Код пишется с расчётом, что дефолтные строки являются юникодом.
import __builtin__
import copy
import os
import logging
import requests
import threading
import json
import store
from os import path
from requests.packages import urllib3
from store import (
NoRollback,
Function,
config,
_preferences
)
from _translator3000 import (
LOGGER as parent_logger,
current_session,
translator,
utils
)
VERSION = (2, 4, 9)
DEBUG = False
parent_logger.setLevel((logging.DEBUG if DEBUG else logging.CRITICAL))
LOGGER = parent_logger.getChild("Ren'Py")