diff --git a/apps/system/views.py b/apps/system/views.py index 41739bd6..b1ead9fe 100755 --- a/apps/system/views.py +++ b/apps/system/views.py @@ -643,6 +643,7 @@ class ApkView(MyLoggingMixin, ListCreateAPIView): sr = ApkSerializer(data=request.data) sr.is_valid(raise_exception=True) vdata = sr.validated_data + config.read(filename, encoding='utf-8') config.set("apk", "version", vdata['version']) config.set("apk", "file", vdata['file']) with open(os.path.join(settings.BASE_DIR, 'server/conf.ini'), 'w') as f: