소스 검색

Fix whitespace issue

JoostSijm 6 년 전
부모
커밋
175b3db9ca
2개의 변경된 파일10개의 추가작업 그리고 10개의 파일을 삭제
  1. 5 5
      factories/factories.py
  2. 5 5
      productivity/productivity.py

+ 5 - 5
factories/factories.py

@@ -6,19 +6,19 @@ from rival_regions_calc import Item, WorkProduction
 
 
 DEPARTMENTS = None
-with open('departments.json') as file:  
+with open('departments.json') as file:
     DEPARTMENTS = json.load(file)
 
 PRICE = None
-with open('prices.json') as file:  
+with open('prices.json') as file:
     PRICE = json.load(file)
 
 REGIONS = None
-with open('regions.json') as file:  
+with open('regions.json') as file:
     REGIONS = json.load(file)
 
 RESOURCES = None
-with open('resources.json') as file:  
+with open('resources.json') as file:
     RESOURCES = json.load(file)
 
 
@@ -49,7 +49,7 @@ def all_factories():
     factory_dict = {}
     for factories in RESOURCES.values():
         factory_dict.update(factories)
-    return factory_dict 
+    return factory_dict
 
 
 def print_per_resource():

+ 5 - 5
productivity/productivity.py

@@ -8,19 +8,19 @@ from rival_regions_calc import Item, WorkProduction
 
 
 DEPARTMENTS = None
-with open('departments.json') as file:  
+with open('departments.json') as file:
     DEPARTMENTS = json.load(file)
 
 PRICE = None
-with open('prices.json') as file:  
+with open('prices.json') as file:
     PRICE = json.load(file)
 
 REGIONS = None
-with open('regions.json') as file:  
+with open('regions.json') as file:
     REGIONS = json.load(file)
 
 RESOURCES = None
-with open('resources.json') as file:  
+with open('resources.json') as file:
     RESOURCES = json.load(file)
 
 
@@ -51,7 +51,7 @@ def all_factories():
     factory_dict = {}
     for factories in RESOURCES.values():
         factory_dict.update(factories)
-    return factory_dict 
+    return factory_dict
 
 
 def print_per_resource():