ソースを参照

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