Skip to content
Discussion options

You must be logged in to vote

Solved modified code with adding and after changing baselocation in the code

base_location = "Paris?lang=fr&units=m"
 if not data.VERTICAL:
            url = f"https://wttr.in/{base_location}&format=%c+%t"
        else:
  url = f"https://wttr.in/{base_location}&format=%c"
 tooltip_url = f"https://wttr.in/{base_location}&format=%l:+%C,+%t+(%f),+Humidity:+%h,+Wind:+%w"

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Ayanashi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Axenide
Comment options

Answer selected by Ayanashi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants