Skip to content

Commit

Permalink
Make blog UUID usable
Browse files Browse the repository at this point in the history
Simple fix for tumblr#124
  • Loading branch information
cyremur authored Jul 29, 2021
1 parent afe2c4c commit c7932f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytumblr/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def validate_blogname(fn):
"""
@wraps(fn)
def add_dot_tumblr(*args, **kwargs):
if (len(args) > 1 and ("." not in args[1])):
if (len(args) > 1 and ("." not in args[1]) and ("t:" not in args[1])):
args = list(args)
args[1] += ".tumblr.com"
return fn(*args, **kwargs)
Expand Down

0 comments on commit c7932f2

Please sign in to comment.