Przeglądaj źródła

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

Andrej 1 rok temu
rodzic
commit
eb3806f45a
1 zmienionych plików z 1 dodań i 4 usunięć
  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