Quellcode durchsuchen

[core] changing 'is' to '==' as it was syntax error

ayush.goyal vor 5 Jahren
Ursprung
Commit
7223599049
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      desktop/core/src/desktop/lib/view_util.py

+ 1 - 1
desktop/core/src/desktop/lib/view_util.py

@@ -31,7 +31,7 @@ LOG = logging.getLogger(__name__)
 
 
 def big_filesizeformat(bytes):
-  if bytes is None or bytes is "":
+  if bytes is None or bytes == "":
     return "N/A"
 
   assert bytes >= 0