Merge "Fixes little bug in enum-generator"
diff --git a/tools/cpp-enum-generator/generator.py b/tools/cpp-enum-generator/generator.py
index a1025bd..88b3ce9 100755
--- a/tools/cpp-enum-generator/generator.py
+++ b/tools/cpp-enum-generator/generator.py
@@ -46,6 +46,8 @@
                 
     
     def __write_file__(self, line_templates, ending, output_path):
+        if output_path == "":
+            output_path = "."
         if not os.path.exists(output_path):
             raise Exception("Output path does not exist")
         with open(os.path.abspath(output_path) + "/" + self.enum_class + "." + ending, "w") as out_file: