Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datetime_tz/update_win32tz_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def update_stored_win32tz_map():
"Generated automatically by {1}'''\n"
"source_hash = {2!r} # md5 sum of xml source data\n"
"win32timezones = {{\n"
).format(_CLDR_WINZONES_URL, __file__, source_hash))
).format(_CLDR_WINZONES_URL, os.path.basename(__file__), source_hash))

for z in map_zones:
map_file.write(" %r: %r,\n" % z)
Expand Down