瀏覽代碼

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

Andrej 1 年之前
父節點
當前提交
eb3806f45a
共有 1 個文件被更改,包括 1 次插入4 次删除
  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