Проверка на root только для Linux (в винде не надо) + Fixes #4
This commit is contained in:
@@ -15,6 +15,10 @@ class AoDataParser:
|
||||
else:
|
||||
self.allowed_fields = db_shemas[self.datasource.table_name].fields
|
||||
|
||||
# Создаем временную папку, если ее нет
|
||||
if not os.path.exists(folders.temp):
|
||||
os.makedirs(folders.temp)
|
||||
|
||||
self.pagesize = pagesize
|
||||
self.currentpage = 0
|
||||
self.counter = 0
|
||||
|
||||
Reference in New Issue
Block a user