Преглед изворни кода

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

ayush.goyal пре 4 година
родитељ
комит
7223599049
1 измењених фајлова са 1 додато и 1 уклоњено
  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