Explorar o código

Removing f-string from exportJSON in orthancDatabaseBrowser for python3.5 compatibility

Andrej hai 1 ano
pai
achega
eb3806f45a
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      orthancDatabaseBrowser.py

+ 1 - 4
orthancDatabaseBrowser.py

@@ -14,10 +14,7 @@ def extractJSON(data):
       except UnicodeDecodeError:
          pass
 
-      if sys.version_info[1]<6:
-         print('Failed to decode with [{}]: {}'.format(x,data))
-      else:
-         print(f'Failed to decode with [{x}]: {data}')
+      print('Failed to decode with [{}]: {}'.format(x,data))
 
    return None