From c7932f25411497e9e41e774abf8c32c1043430f8 Mon Sep 17 00:00:00 2001 From: cyremur Date: Fri, 30 Jul 2021 01:30:42 +0200 Subject: [PATCH] Make blog UUID usable Simple fix for https://github.com/tumblr/pytumblr/issues/124 --- pytumblr/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytumblr/helpers.py b/pytumblr/helpers.py index 4314f36..79ddcdc 100644 --- a/pytumblr/helpers.py +++ b/pytumblr/helpers.py @@ -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)