Browse Source

Fix whitespace issue

JoostSijm 6 years ago
parent
commit
175b3db9ca
2 changed files with 10 additions and 10 deletions
  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():