locky 4 жил өмнө
parent
commit
242a8aa37b

+ 1 - 1
Controller/FileController.py

@@ -344,7 +344,7 @@ class DownloadUIDFileView(View):
         for i in range(len(uid_values)):
             # print(item)
             item = uid_values[i]
-            mac: str = item['uid__mac']
+            mac = str(item['uid__mac'])
             index = mac.rfind(':')
             tmp = mac[0:index] + '\t' + mac[index:]
             content += tmp + '\t'