python3 compatibility + webapp to flask refactoring

This commit is contained in:
Kaan Soral
2024-01-27 20:37:44 +03:00
parent 5180a9c31c
commit 53b3de28ab
81 changed files with 11213 additions and 1085 deletions
+6 -1
View File
@@ -1,4 +1,7 @@
import httplib
try:
import httplib
except:
import http.client as httplib #for python3
import urllib
import hashlib
import hmac
@@ -7,6 +10,8 @@ import base64
from datetime import datetime
from xml.etree.ElementTree import XML
if 1/2 != 0: basestring=str
def encodeUnicodez(args):
if args and type(args)==type({}):
for key,value in args.items():