Skip to content

Commit 3633344

Browse files
committed
fix formatting for lru_cache decorator for python3.7, fixes bug #4
1 parent 0c32cb3 commit 3633344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

moon/dialamoon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def make_json_year_mooninfo_url(self):
116116
year = self.datetime.year
117117
)
118118

119-
@lru_cache
119+
@lru_cache()
120120
def set_mooninfo_requested_year(self):
121121
response = urllib.request.urlopen(self.json_url)
122122
self.moon_year_info = json.loads(response.read())

0 commit comments

Comments
 (0)