Fixed typo in seeking.
This commit is contained in:
parent
06b19538fd
commit
227e464b63
|
@ -347,7 +347,7 @@ class Config(object):
|
||||||
# We will only write a new config file if there is a difference
|
# We will only write a new config file if there is a difference
|
||||||
try:
|
try:
|
||||||
data = open(filename, "rb")
|
data = open(filename, "rb")
|
||||||
data.seek(2)
|
data.seek(4)
|
||||||
loaded_data = json.load(data)
|
loaded_data = json.load(data)
|
||||||
data.close()
|
data.close()
|
||||||
if self.__config == loaded_data:
|
if self.__config == loaded_data:
|
||||||
|
|
Loading…
Reference in New Issue