Skip to content

Commit c800f7f

Browse files
Update configurationlib.py
1 parent a9a2ad3 commit c800f7f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

configurationlib/configurationlib.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ class Instance:
1111
def __init__(self, file, format="JSON", hot_reloading=False, debug=False):
1212
self.file = file
1313
self.config = {}
14-
self.format_function = format() # Normalize format to uppercase
15-
self.format = self.format_function.upper()
14+
self.format = format.upper() # Normalize format to uppercase
1615
self.hot_reloading = hot_reloading
1716
self.last_modified_time = 0 # Track the last modified time
1817
self.debug = debug

0 commit comments

Comments
 (0)