1. Frederic De Groef
  2. csxj-crawler

Commits

Frederic De Groef  committed 9b17635

os.exists -> os.path.exists

  • Participants
  • Parent commits f9a7c0f
  • Branches default

Comments (0)

Files changed (1)

File csxj/datasources/helpers/unittest_generator.py

View file
  • Ignore whitespace
 
         full_index_name =os.path.join(root_path, "index.json")
         index = dict(test_data=[])
-        if os.exists(full_index_name):
+        if os.path.exists(full_index_name):
             with open(full_index_name) as f:
                 old_index = json.load(f)
                 index.update(old_index)